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

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Bug Reports > Symlink problem in 4.2

Reply
 
Thread Tools Display Modes
  #1  
Old 10-17-2012, 07:38 AM
dims dims is offline
Member
 
Join Date: Jan 2011
Posts: 19
Default Symlink problem in 4.2

In 4.1.13 symlink work fine
example:
dpr -> ../s.domain.com/_static/borpas-dpr
and file download successful:
http://domain.net/dpr/file.exe
in config for vhost:
<allowSymbolLink>1</allowSymbolLink>
each domain have the same user.

after update to 4.2 symlink doesnt work and returned 403 error
In log file nothing wrote about symlink error

I see in changelog for 4.2:
"Improved symbolic link security for shared hosting by introducing LiteSpeed specific directives "DisableSymlinkOverride" and "VhostRestrained"."
what means that each directive?
Reply With Quote
  #2  
Old 10-18-2012, 11:35 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,603
"DisableSymlinkOverride" does not allow change symbolic link related configuration via .htaccess
"VhostRestrained" does not allow linking to anywhere beyond user's home directory.
Reply With Quote
  #3  
Old 10-22-2012, 06:52 AM
dims dims is offline
Member
 
Join Date: Jan 2011
Posts: 19
Quote:
Originally Posted by mistwang View Post
"DisableSymlinkOverride" does not allow change symbolic link related configuration via .htaccess
"VhostRestrained" does not allow linking to anywhere beyond user's home directory.
What default parameters for this options?
How me fix 403 error in 4.2
We want upgrade all our servers for 4.2, but cant because of this bug.
Reply With Quote
  #4  
Old 10-22-2012, 10:42 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,603
It is just "On", "Off".

Also, check http://www.litespeedtech.com/docs/we...trictOwnership
Reply With Quote
  #5  
Old 10-25-2012, 01:41 AM
dims dims is offline
Member
 
Join Date: Jan 2011
Posts: 19
Quote:
Originally Posted by mistwang View Post
It is just "On", "Off".

Also, check http://www.litespeedtech.com/docs/we...trictOwnership
This option is off
Screen of settings:

And file download ok


When switch version to 4.2 file dont download, setting dont changed:
Reply With Quote
  #6  
Old 10-25-2012, 08:11 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,603
you need to check /usr/local/apache/logs/error_log to find out the reason why it is denied, then adjust configuration accordingly.
Try "Force reinstall" of 4.2, it might be fixed as we have adjusted default values to off.
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 09:18 AM.



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