Mango
06-09-2008, 01:24 PM
Hiya :)
Is there a SetEnv equivalent for LiteSpeed? I'd like to specify a variable in my root .htaccess and have it accessible by any script. If someone could point me in the right direction for this, that would be great.
On the LiteSpeed forums it was suggested to someone that they "create a dedicated lsphp external application for that vhost, then add environment there." I wouldn't even know where to start!
I suppose I could just use an auto_prepend_file and have the PHP script set the variable there. That wouldn't cause unnecessary overhead, would it?
-Mango :D
Is there a SetEnv equivalent for LiteSpeed? I'd like to specify a variable in my root .htaccess and have it accessible by any script. If someone could point me in the right direction for this, that would be great.
On the LiteSpeed forums it was suggested to someone that they "create a dedicated lsphp external application for that vhost, then add environment there." I wouldn't even know where to start!
I suppose I could just use an auto_prepend_file and have the PHP script set the variable there. That wouldn't cause unnecessary overhead, would it?
-Mango :D