Symlink problem in 4.2

#1
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?
 

mistwang

LiteSpeed Staff
#2
"DisableSymlinkOverride" does not allow change symbolic link related configuration via .htaccess
"VhostRestrained" does not allow linking to anywhere beyond user's home directory.
 
#3
"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.
 

mistwang

LiteSpeed Staff
#6
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.
 
Top