http://qs321.pair.com?node_id=666761


in reply to Re: mod_perl2 Apache VirtualHost ENV settings [OT?]
in thread mod_perl2 Apache VirtualHost ENV settings [OT?]

This would mean doubling up on all the configs, setting SetENv for scripts and PerlSetVar for mod_perl ?

-=( Graq )=-

Replies are listed 'Best First'.
Re^3: mod_perl2 Apache VirtualHost ENV settings [OT?]
by perrin (Chancellor) on Feb 07, 2008 at 20:48 UTC
    If you need to support CGI scripts that don't run under mod_perl, I would suggest you create a config file with a hash of the variables you need indexed by something like DocumentRoot that's available in $ENV for CGI scripts and accessible via the mod_perl API as well.