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

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Bug Reports > $VH_ROOT not work properly at server level

Reply
 
Thread Tools Display Modes
  #1  
Old 03-19-2010, 09:19 AM
Marcus Marcus is offline
Senior Member
 
Join Date: Feb 2007
Posts: 69
Default $VH_ROOT not work properly at server level

Hi,

At the server level, I added the following entry into the Apache-style settings:

php_value open_basedir "$VH_ROOT/public:$VH_ROOT/includes"

The resulting open_basedir value though held the server's prefix not the $VH_ROOT. If I add this entry at the template level, it works as expected - not tested on the individual host level, but I'm assuming it works correctly there.

I've not tested any other uses of $VH_ROOT at the server level.

I'm guessing this isn't the intended usage.

Version : LSWS Standard 4.0.13

Thanks.
Reply With Quote
  #2  
Old 03-20-2010, 10:16 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
You should only use it at vhost level. At server level, $VH_ROOT is not set.
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 10:29 PM.



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