LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > General > .htaccess files problem

Reply
 
Thread Tools Display Modes
  #1  
Old 02-16-2008, 01:52 PM
Grzegorz Derebecki Grzegorz Derebecki is offline
Senior Member
 
Join Date: Jun 2007
Posts: 92
Default .htaccess files problem

I setup litespeed as proxy to apache hosting my subversion. When i try commit .htaccess i get 403 error. (when i commiting directly it works ok) How can i fix this?
Reply With Quote
  #2  
Old 02-16-2008, 02:13 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,585
LiteSpeed block access to request URI containing "/.ht..." and "/.svn...". that's why you get blocked.
Maybe we only need to block "GET", "HEAD" request, and let it pass for other WebDAV requests.

We will update 3.3.5 release with this fix soon.
Reply With Quote
  #3  
Old 02-16-2008, 02:18 PM
Grzegorz Derebecki Grzegorz Derebecki is offline
Senior Member
 
Join Date: Jun 2007
Posts: 92
what is somone simulate WebDAV request?

Maby we need some setting to turn this files from some locations?

Maby if request is redirected to proxy you shoulden check URI contaning .ht... ?
Reply With Quote
  #4  
Old 02-16-2008, 02:21 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,585
Correct me if I were wrong, WebDAV requests won't show the content of the file.
Actually, only "GET" request could expose the file content.
WebDAV requests usually require authentication, so it is not likely a security problem.
Reply With Quote
  #5  
Old 02-16-2008, 02:25 PM
Grzegorz Derebecki Grzegorz Derebecki is offline
Senior Member
 
Join Date: Jun 2007
Posts: 92
Quote:
Originally Posted by mistwang View Post
Correct me if I were wrong, WebDAV requests won't show the content of the file.
Actually, only "GET" request could expose the file content.
WebDAV requests usually require authentication, so it is not likely a security problem.
then how svn gets files from server?

Ok I don't know well how WebDVA works it was just suggestion ;-)

When 3.3.5 will be released?

EDIT: Getting works ok.

Last edited by Grzegorz Derebecki; 02-16-2008 at 02:33 PM..
Reply With Quote
  #6  
Old 02-16-2008, 08:36 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,585
3.3.5 release package is available now, you can give it try. just change the version number in the download link.
Reply With Quote
  #7  
Old 02-17-2008, 09:29 AM
Grzegorz Derebecki Grzegorz Derebecki is offline
Senior Member
 
Join Date: Jun 2007
Posts: 92
Quote:
Originally Posted by mistwang View Post
3.3.5 release package is available now, you can give it try. just change the version number in the download link.
Thanks! i will test it and inform you if all is ok ;-)
Reply With Quote
  #8  
Old 02-17-2008, 01:17 PM
Grzegorz Derebecki Grzegorz Derebecki is offline
Senior Member
 
Join Date: Jun 2007
Posts: 92
Quote:
Originally Posted by mistwang View Post
3.3.5 release package is available now, you can give it try. just change the version number in the download link.
I can't check becous i use freebsd6 version not linux Can you compile it for freebsd?
Reply With Quote
  #9  
Old 02-18-2008, 08:17 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,585
freebsd packages has been uploaded.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 10:32 AM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.