>
>   This has never worked for me and it used to be a source of endless
> bother. Recently, I noticed Doug MacE. said on the modperl list that
> SetEnv should work just fine.

For virtual hosts it did work always, it didn't work for
directories/locations. This also works since Apache 1.3.9, but the docs has
never been updated, so it seems that nobody has realized it, until this
discussion you mention.

BTW. The reason of discussion was, that PerlSetEnv is fixed in mod_perl
1.26, so both should now work correct (PerlSetEnv didn't work correct if you
have a PerlInitHandler or another handler that is invoked before Apache
knows to which directory the request belongs). There is another bug on
win32, that causes environment variables sometimes to persist to the next
request, also it shouldn't be set on the next request (I don't know if this
applies only to PerlSetEnv or to SetENv also)

Gerald

-------------------------------------------------------------
Gerald Richter    ecos electronic communication services gmbh
Internetconnect * Webserver/-design/-datenbanken * Consulting

Post:       Tulpenstrasse 5         D-55276 Dienheim b. Mainz
E-Mail:     [EMAIL PROTECTED]         Voice:    +49 6133 925131
WWW:        http://www.ecos.de      Fax:      +49 6133 925152
-------------------------------------------------------------



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to