[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Apache2 ENV


PerlSetENV will only make your environment variables available to perl handlers. If you want them also available to CGI, you have to set them twice, once with PerlSetENV and again with Apache's regular SetENV. If there's a better way to do it, I'm sure someone on the list will speak up :)

----- Original Message ----- From: Anthony Gardner
To: suppressed
Sent: Friday, June 01, 2007 9:07 AM
Subject: Apache2 ENV


Okay, am being a bit lazy but I though I'd ask here and continue reading the docs while waiting for replies.

We've finally ported mod_perl 1.99 to a lovely new mod_perl 2.0.n but some things don't work. Namely PerlSetENV

This works under mod_perl but not CGI. Is there something else I should be doing to get ENV populated under CGI?


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.