Apache 2 + mod_perl + virtual host problems

[prev] [thread] [next] [Date index for 2005/02/21]

From: Bruno Lavoie
Subject: Apache 2 + mod_perl + virtual host problems
Date: 13:40 on 21 Feb 2005
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     my@xxxx.xxxxxx
        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

(message missing)

Apache 2 + mod_perl + virtual host problems
Bruno Lavoie 13:40 on 21 Feb 2005

Re: Apache 2 + mod_perl + virtual host problems
Bruno Lavoie 14:58 on 21 Feb 2005

Re: Apache 2 + mod_perl + virtual host problems
Perrin Harkins 18:13 on 21 Feb 2005

Re: Apache 2 + mod_perl + virtual host problems
Bruno Lavoie 18:31 on 21 Feb 2005

Re: Apache 2 + mod_perl + virtual host problems
Perrin Harkins 18:38 on 21 Feb 2005

Re: Apache 2 + mod_perl + virtual host problems
Stas Bekman 01:39 on 22 Feb 2005

Re: Apache 2 + mod_perl + virtual host problems
Bruno Lavoie 15:11 on 21 Feb 2005

Re: Apache 2 + mod_perl + virtual host problems
Perrin Harkins 18:09 on 21 Feb 2005

Re: Apache 2 + mod_perl + virtual host problems
Bruno Lavoie 18:54 on 21 Feb 2005

Re: Apache 2 + mod_perl + virtual host problems
Perrin Harkins 19:42 on 21 Feb 2005

Re: Apache 2 + mod_perl + virtual host problems
Stas Bekman 01:49 on 22 Feb 2005

Re: Apache 2 + mod_perl + virtual host problems
Bruno Lavoie 02:28 on 22 Feb 2005

Re: Apache 2 + mod_perl + virtual host problems
Stas Bekman 02:40 on 22 Feb 2005

Re: Apache 2 + mod_perl + virtual host problems
Bruno Lavoie 02:53 on 22 Feb 2005

Re: Apache 2 + mod_perl + virtual host problems
Bruno Lavoie 04:41 on 22 Feb 2005

Generated at 12:48 on 22 Feb 2005 by mariachi v0.52