Symlink problem in 4.2

Discussion in 'Bug Reports' started by dims, Oct 17, 2012.

  1. dims

    dims New Member

    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?
  2. mistwang

    mistwang LiteSpeed Staff

    "DisableSymlinkOverride" does not allow change symbolic link related configuration via .htaccess
    "VhostRestrained" does not allow linking to anywhere beyond user's home directory.
  3. dims

    dims New Member

    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.
  4. mistwang

    mistwang LiteSpeed Staff

  5. dims

    dims New Member

  6. mistwang

    mistwang LiteSpeed Staff

    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.

Share This Page