> When using virtual hosts the configuration without PerlSetEnv doesn't work
> properly:
>
I have tried it here and don't get a problem. There is one thing I should
metion (that I missed to correctly document in 2.0b6, it's now in
README.v2).
For every container in your httpd.conf (e.g.
VirtualHost,Directory,Location)
where you want to define any application level configuration directives
(see below under tAppConfig for a list), you need to set a unique
value for EMBPERL_APPNAME. This is for example necessay for all
Embperl::Object parameters. Example:
<Location /eo>
EMBPERL_APPNAME my_embperl_app
EMBPERL_OBJECT_BASE base.epl
</Location>
So try
> If I do this for several virtual hosts, everything is ok:
> -------------
> <VirtualHost XXX>
> DocumentRoot XXX
> ...
EMBPERL_APPNAME XXX
EMBPERL_OBJECT_BASE base.epl
# There is no need to have the following line in every VirtualHost,
# just put it on the top of yourt httpd.conf
> PerlSetEnv EMBPERL_SESSION_HANDLER_CLASS no
> ...
> </VirtualHost>
> -------------
>
Another note. If you have also set the same parameter as an environment
variable, the environment variable takes precedence.
Does this change anything? If not what exactly is happeing? Do you get an
error message?
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]