You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Geoffrey Young <ge...@modperlcookbook.org> on 2005/07/01 15:38:40 UTC

Re: Apache::Test - regression with handling of cgid?


Joshua Hoblitt wrote:
> Hi Folks,
> 
> I'm getting cgid errors in t/logs/error_log unless I set 'ScriptSock' in
> t/conf/extra.conf.in.

that is already set for you in t/conf/extra.conf.in

  <IfModule mod_cgid.c>
      ScriptSock logs/cgisock
  </IfModule>

if that code isn't in your t/conf/extra.conf.in you must be using a really
old version of mod_perl :)


> I found this issue in a thread from 2003 that appears to have resolved
> this.
> 
> http://aspn.activestate.com/ASPN/Mail/Message/modperl/1823561

if you follow the whole thread you'll see that the fix was applied, which
resulted in the above <IfModule> block.

> 
> Although Apache::Test is definitely inheriting the cgid conf from the
> system files.  Under t/conf:

> $ grep -i cgid *

that really doesn't help me.  a cut-and-paste of the appropriate mod_cgid
configuration with context would be a better help.

but the real issue is why mod_cgid is ignoring the ScriptSock directive we
give it.  please visit http://perl.apache.org/bugs/ and follow the
directions there so we can get a feel for your environment.

--Geoff

Re: Apache::Test - regression with handling of cgid?

Posted by Joshua Hoblitt <jh...@ifa.hawaii.edu>.
The issue was finally resolved by uninstalling mp2, mp1 and then
reinstalling just mp2.  I'm still scratching my head as to exactly what
the problem was.  My best guess is that there was a conflict between
versions of mp2 installed by both CPAN.pm and Gentoo ebuild.

Cheers,

-J

--
On Fri, Jul 01, 2005 at 09:38:40AM -0400, Geoffrey Young wrote:
> 
> 
> Joshua Hoblitt wrote:
> > Hi Folks,
> > 
> > I'm getting cgid errors in t/logs/error_log unless I set 'ScriptSock' in
> > t/conf/extra.conf.in.
> 
> that is already set for you in t/conf/extra.conf.in
> 
>   <IfModule mod_cgid.c>
>       ScriptSock logs/cgisock
>   </IfModule>
> 
> if that code isn't in your t/conf/extra.conf.in you must be using a really
> old version of mod_perl :)
> 
> 
> > I found this issue in a thread from 2003 that appears to have resolved
> > this.
> > 
> > http://aspn.activestate.com/ASPN/Mail/Message/modperl/1823561
> 
> if you follow the whole thread you'll see that the fix was applied, which
> resulted in the above <IfModule> block.
> 
> > 
> > Although Apache::Test is definitely inheriting the cgid conf from the
> > system files.  Under t/conf:
> 
> > $ grep -i cgid *
> 
> that really doesn't help me.  a cut-and-paste of the appropriate mod_cgid
> configuration with context would be a better help.
> 
> but the real issue is why mod_cgid is ignoring the ScriptSock directive we
> give it.  please visit http://perl.apache.org/bugs/ and follow the
> directions there so we can get a feel for your environment.
> 
> --Geoff