Hi, everybody,

  I seem to remember the people on this and the modperl list recommended
PerlSetEnv (instead of SetEnv) to change environment variables on per
virtual host basis eg

httpd.conf
==========

PerlSetEnv      EMBPERL_OPTIONS         0

<VirtualHost ...>
        ServerName      test01
        PerlSetEnv      EMBPERL_OPTIONS         111
        ...
</VirtualHost>

<VirtualHost ...>
        ServerName      test02
        PerlSetEnv      EMBPERL_OPTIONS         222
        ...
</VirtualHost>

  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. Well, it does for me (it's Apache/1.3.19
(Unix) (Red-Hat/Linux) mod_perl/1.24_01 HTML::Embperl 1.3.3). Now I'm
not sure this is exactly a bug, but as this seems to be a rather common
problem, I wanted to share this observation. I'm definitely happy I can
clean up the mess in my conf files.

- Robert

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

Reply via email to