PHP SCRIPT_FILENAME Problem when Symlink

#1
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;-)
 
T

triedia09

Guest
#2
Hi,

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

Extract from ZIP again and be very careful when uploading.
 
Top