PHP SCRIPT_FILENAME Problem when Symlink

Discussion in 'Bug Reports' started by gkunst, Nov 3, 2009.

  1. gkunst

    gkunst New Member

    I like to use the fantastic File Access Control in a virtual-host setting with a lot Symlinks.

    When i use Restrained=yes then the PHP Env. SCRIPT_FILENAME Path is showing, when accessing a file over a symlink, the path of the symlink and not the name of the symlink.

    Eg. Symlink test -> ../abc

    With Restrained = No: SCRIPT_FILENAME -> test/file.php
    With Restrained = Yes: SCRIPT_FILENAME -> ../abc/file.php

    LiteSpeed 4.0.11 and PHP 5.2.11, LSAPI

    PS. Sorry for my english and repost;-)
  2. triedia09

    triedia09 Guest


    In the process of viewing or uploading the PHP script, you damaged it.

    Extract from ZIP again and be very careful when uploading.

Share This Page