Gerald Richter wrote:
> 
> >
> >   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.

Nope. I have just re-tried it. PerlSetVar XXX in httpd.conf wins,
PerlSetVar XXX in <VirtualHost> is ignored. Like

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

PerlSetEnv      EMBPERL_OPTIONS         10256

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

server test01 prints EMBPERL_OPTIONS=10256 

- Robert

PS Apache/1.3.19  (Unix)  (Red-Hat/Linux) Embperl/1.3.3
mod_gzip/1.3.19.1a mod_perl/1.24_01 HTML::Embperl 1.3.3 [Mon Jul 23
22:13:38 2001]

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

Reply via email to