PHP SCRIPT_FILENAME Problem when Symlink

#1
HI,

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 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

I think this is a Bug?

Guillermo

PS. Sorry for my english ;-)
 
Last edited:
#4
yeah .. my problems symlink forbidden error open_basedir , sampLe : SampLe : ln -s /home/user/public_html/index.php index.txt - index.txt u--------- 0 index.txt i dont read for index.txt .. why ? relevance of this posix_eval there is , english a little bad sorry
 
Top