Re: Apache 2 + mod_perl + virtual host problems

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

From: Stas Bekman
Subject: Re: Apache 2 + mod_perl + virtual host problems
Date: 01:49 on 22 Feb 2005
Bruno Lavoie wrote:
> 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
[...]
> 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

Where is the script physically located? At the above path? Is it 
executable and readable (I suppose so, since registry works). Also you 
could try to enable debugging in the RegistryCooker.pm and see whether it 
runs. at the end it's easy to compare Registry.pm with PerlRun.pm and try 
to see what difference creates the problem. I'd guess that this difference 
is the crucial one:

PerlRun.pm     flush_namespace => 'flush_namespace_normal',
Registry.pm    flush_namespace => 'NOP',

the actual functions are in RegistryCooker.pm.

        -- 
        __________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@xxxxxx.xxx http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

(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