LiteSpeed Support Forums

LiteSpeed Support Forums (http://www.litespeedtech.com/support/forum/index.php)
-   Bug Reports (http://www.litespeedtech.com/support/forum/forumdisplay.php?f=9)
-   -   PHP SCRIPT_FILENAME Problem when Symlink (http://www.litespeedtech.com/support/forum/showthread.php?t=3490)

gkunst 11-03-2009 04:45 AM

PHP SCRIPT_FILENAME Problem when Symlink
 
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;-)

triedia09 11-26-2009 06:39 AM

PHP SCRIPT_FILENAME Problem when Symlink
 
Hi,

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

Extract from ZIP again and be very careful when uploading.


All times are GMT -7. The time now is 10:10 AM.