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

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Bug Reports > 4.0.2: 403 error for all static files

Reply
 
Thread Tools Display Modes
  #1  
Old 04-25-2009, 03:59 AM
andreas andreas is offline
Senior Member
 
Join Date: Aug 2006
Posts: 91
Exclamation 4.0.2: 403 error for all static files

Since the upgrade to 4.0.2, all static file request cause 403 errors.

Switching back to 4.0 solves the problem.
Reply With Quote
  #2  
Old 04-25-2009, 06:40 AM
MindTooth MindTooth is offline
Member
 
Join Date: Apr 2008
Posts: 41
With the guide of usefuljaja, I have a symlink for phpmyadmin at, but now I can't get phpMyAdmin to run.

Birger
Reply With Quote
  #3  
Old 04-25-2009, 11:49 AM
gboudreau gboudreau is offline
Member
 
Join Date: Oct 2006
Location: Montr
Posts: 49
Quote:
Originally Posted by andreas View Post
Since the upgrade to 4.0.2, all static file request cause 403 errors.

Switching back to 4.0 solves the problem.
Same thing here. 4.0.1 doesn't have this problem. Can't see anything in the log files.
__________________
- Guillaume Boudreau
Reply With Quote
  #4  
Old 04-25-2009, 07:33 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
Maybe it is caused by "Restained" configuration, bug has been fixed in 4.0.2 to make it work properly.
http://www.litespeedtech.com/docs/we...st/#restrained

If symbolic links has been used, it could be the problem.
Reply With Quote
  #5  
Old 04-26-2009, 03:58 AM
gboudreau gboudreau is offline
Member
 
Join Date: Oct 2006
Location: Montr
Posts: 49
Quote:
Originally Posted by mistwang View Post
Maybe it is caused by "Restained" configuration, bug has been fixed in 4.0.2 to make it work properly.
http://www.litespeedtech.com/docs/we...st/#restrained

If symbolic links has been used, it could be the problem.
My VH_ROOTs are all something like:
$SERVER_ROOT/www-html/xyz

Where $SERVER_ROOT/www-html is a symlink to /var/www/html

With "Restrained" enabled, requests to any VH with a VH_ROOT that contains a symlink return 403 because of that, but I don't think it should.
__________________
- Guillaume Boudreau
Reply With Quote
  #6  
Old 04-27-2009, 07:33 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
If VH_ROOT is $SERVER_ROOT/www-html/xyz, the server will not serve anything beyond its vhost root.
Your vhosts are configured natively, not through httpd.conf, right?
Reply With Quote
  #7  
Old 04-27-2009, 08:34 AM
gboudreau gboudreau is offline
Member
 
Join Date: Oct 2006
Location: Montr
Posts: 49
(Yes, all my VH are configured from LS admin interface, not httpd.conf)

Even files in directly in VH_ROOT returned 403.

Example:
Domain = www.danslereseau.com
VH_ROOT = $SERVER_ROOT/www-html/dlr

http://www.danslereseau.com/index.php returned 403.
__________________
- Guillaume Boudreau
Reply With Quote
  #8  
Old 04-27-2009, 12:39 PM
MindTooth MindTooth is offline
Member
 
Join Date: Apr 2008
Posts: 41
Where do you suggest I put phpMyAdmin then? A folder under $VH_ROOT?

Birger
Reply With Quote
  #9  
Old 04-27-2009, 09:39 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
Please download and try 4.0.3 release package. Just change the version number in the download link to get it.
Should work better.
Reply With Quote
  #10  
Old 04-28-2009, 09:39 AM
MindTooth MindTooth is offline
Member
 
Join Date: Apr 2008
Posts: 41
Installed it successfully, but what is much better?

Birger
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 11:39 AM.



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