perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonathan Vanasco <modperl-l...@2xlp.com>
Subject putting config vars in httpd.conf
Date Fri, 28 Apr 2006 01:28:24 GMT

I'd like to flag whether my app is running on dev or prod with a  
variable that's in httpd.conf
( right now i manually toggle a var in a config file, and its driving  
me nuts )

i wanted to use PerlSetVar, but that's read at request time - which  
won't work, as this needs to be read before a request

so then i looked at

	 custom Apache configuration directives
	http://perl.apache.org/docs/2.0/user/config/custom.html

and everything in there looks way more complicated than what i could  
possibly need

can anyone point me in the right direction?

Mime
View raw message