perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Duran" <ste...@nmmcc.com>
Subject RE: [MP2] having trouble obtaining $r
Date Thu, 11 Aug 2005 17:26:51 GMT

  This fixed the problems with both Apache2::RequestUtil and Apache2::compat

  Thanks!

  - Steve


-----Original Message-----
From: Stas Bekman [mailto:stas@stason.org] 
Sent: Thursday, August 11, 2005 11:01 AM
To: steved@nmmcc.com
Cc: modperl@perl.apache.org
Subject: Re: [MP2] having trouble obtaining $r



> use Apache2::RequestUtil;
> my $r = Apache2::RequestUtil->request;
> 
>   This produces the following error:
> 
> Can't locate object method "request" via package 
> "Apache2::RequestUtil"
[...]
> LoadModule perl_module modules/mod_perl.so
> 
> PerlModule Apache2::compat
> 
> AddHandler cgi-script .cgi
> AddHandler perl-script .pl
> 
> Alias /auth/ "/web/ssldocs/foobar/auth/"
> 
> <Directory /web/ssldocs/foobar/auth> 
>   AllowOverride None
>   Options +ExecCGI
>   #SetHandler perl-script
>   PerlOptions +GlobalRequest
> </Directory>

and where exactly do you configure, the registry module, Steve? I can't 
see it in this config.

What if you chance that config to:

<Directory /web/ssldocs/foobar/auth>
   AllowOverride None
   Options +ExecCGI
   SetHandler perl-script
   PerlResponseHandler ModPerl::Registry
</Directory>




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


Mime
View raw message