Subject: | Add hint about 'PerlModule Apache2::compat' to documentation? |
Hi!
Nice work!
But there's a small problem,
Pod::POM::Web dies because Apache2::RequestRec etc. is not loaded when using the
suggested
httpd.conf configuration in the perldoc for Pod::Pom::Web:
[SNIP]
As a mod_perl service
The recommended way to run this application is within a mod_perl envi-
ronment. If you have Apache2 with mod_perl 2.0, then edit your
perl.conf as follows :
<Location /perldoc>
SetHandler modperl
PerlResponseHandler Pod::POM::Web->handler
</Location>
[/SNIP]
Maybe add:
PerlModule Apache2::compat
?
Atleast that will make it work with Apache2 and mod_perl2.
Sincerly,
Ask Solem [asksh@cpan.org]
From the apache2 error_log when using the suggested configuration:
[Sat May 26 02:24:16 2007] [error] [client 127.0.0.1] Can't locate object method "path_info"
via package "Apache2::RequestRec" at /usr/local/lib/perl5/site_perl/5.8.8/Pod/POM/Web.pm
line 102.