LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Bug Reports > PHP SCRIPT_FILENAME Problem when Symlink

Reply
 
Thread Tools Display Modes
  #1  
Old 11-03-2009, 04:45 AM
gkunst gkunst is offline
New Member
 
Join Date: Nov 2009
Posts: 3
Default 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;-)
Reply With Quote
  #2  
Old 11-26-2009, 06:39 AM
triedia09
Guest
 
Posts: n/a
Default 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.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


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



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.