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)
-   -   $VH_ROOT not work properly at server level (http://www.litespeedtech.com/support/forum/showthread.php?t=3895)

Marcus 03-19-2010 09:19 AM

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

mistwang 03-20-2010 10:16 PM

You should only use it at vhost level. At server level, $VH_ROOT is not set.


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