I can't find a flaw in my conf. I am trying to conf some location act under PerlRun or Registry, but my test-script prints in %ENV still:

GATEWAY_INTERFACE: CGI/1.1

I added in apache2.conf such lines:
___
Alias /adm /home/xyz/adm
Alias /adm2 /home/xyz/adm

<Location /adm>
        SetHandler perl-script
        PerlHandler ModPerl::PerlRun
        Options +ExecCGI
        PerlSendHeader On
        AllowOverride All
</Location>

<Location /adm2>
        SetHandler perl-script
        PerlHandler ModPerl::Registry
        Options +ExecCGI
        PerlSendHeader On
        AllowOverride All
</Location>
___

But in both Location my gateway is CGI/1.1. Other important variables in ENV:

MOD_PERL: mod_perl/2.0.1
MOD_PERL_API_VERSION: 2
SERVER_SIGNATURE:
Apache/2.0.54 (Debian GNU/Linux) mod_apreq2-20050712/2.1.3-dev mod_perl/2.0.1 Perl/v5.8.7 Server at localhost Port 80 SERVER_SOFTWARE: Apache/2.0.54 (Debian GNU/Linux) mod_apreq2-20050712/2.1.3-dev mod_perl/2.0.1 Perl/v5.8.7


What didn't i notice here?

--
TIA,
Tänud ette,

Gunnar Koppel

Reply via email to