Hello,
my problem is very confusing! and i absolutely need it working!
at work i need to configure multiples developement zone under apache 2
and mod_perl 2, and this as virtual host for each programmer. I need
to run environement in ModPerl::PerlRun because we have dirty scripts
that doesnt work under ModPerl::Registry
i'm running on a debian box with :
Apache/2.0.52 (Debian GNU/Linux) PHP/4.3.10-2 mod_perl/1.999.20 Perl/v5.8.4
and here is my virtual host settings :
<VirtualHost *>
ServerName developername.domain.com
ServerAdmin [EMAIL PROTECTED]
ServerSignature On
LogLevel warn
ErrorLog /fsg/intranet-fsgbla/logs/apache-error.log
CustomLog /fsg/intranet-fsgbla/logs/apache-common.log common
DocumentRoot /fsg/intranet-fsgbla/htdocs/
PerlModule Apache2
PerlModule ModPerl::PerlRun
PerlOptions +Parent
PerlSwitches -Mlib=/fsg/intranet-fsgbla/htdocs
<Files ~ ".pl$">
SetHandler perl-script
PerlResponseHandler ModPerl::PerlRun
PerlOptions +ParseHeaders
Options +ExecCGI
</Files>
<Location /perl-status>
SetHandler perl-script
PerlHandler Apache::Status
</Location>
</VirtualHost>
the weirdest thing is the PerlResponseHandler ModPerl::PerlRun in the
<Files ~ ...> directives scope dont call scripts, my error log show me
when i call a .pl file :
Code:
[Thu Feb 17 10:02:55 2005] [error] /fsg/intranet-fsgbla/htdocs/test.pl
not found or unable to stat
when i change the ModPerl::PerlRun to ModPerl::Registry, IT WORKS? no
errors in error log file! WHY?
i tried a lot of thing and i'm very out of ideas?
someone knows it?
thanks a lot
Bruno