Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^2: mod_perl2 Apache VirtualHost ENV settings [OT?]

by graq (Curate)
on Feb 07, 2008 at 09:03 UTC ( #666761=note: print w/replies, xml ) Need Help??


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.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://666761]
help
Chatterbox?
[Corion]: 1nickt: I bought a 2015 XPS 13, which is a very nice and shiney (and somewhat overpriced) machine, but I think it's still better priced than an Apple machine. Now it just has to hold up 10 years like the old one did ;)
[1nickt]: Ah, you got Linus' fave? With Ubuntu? 4k display?
[1nickt]: ( The 17" monster I just bought is for my wife, who doesn;t leave the house with it...)

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (9)
As of 2017-03-27 13:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (320 votes). Check out past polls.