[Cialug] mod_perl

Dave Weis djweis at internetsolver.com
Mon Dec 4 07:28:23 CST 2006


I'm setting up RT (www.bestpractical.com/rt/) and having some mod_perl 
problems. I know the dependencies are there because I can run the 
standalone web server bundled with the package and it works fine.. I am 
having problems getting Apache to cooperate.

I have mod_perl 2.0.1 installed, Apache 2.0.53, and rt 3.6.1. Starting 
Apache works but trying to view the page gives the following error in the 
logs:
[Mon Dec 04 07:12:30 2006] [error] [client 66.43.220.243] Can't locate 
object method "content_type" via package "Apache2::RequestRec" at 
/opt/rt3/bin/webmux.pl line 108.\n
The area in question is:
     if ($r->content_type =~ m/^httpd\b.*\bdirectory/i) {
         use File::Spec::Unix;
         # Our DirectoryIndex is always index.html, regardless of httpd 
settings
         $r->filename( File::Spec::Unix->catfile( $r->filename, 
'index.html' ) );
     }

Looks pretty innocuous. My googling showed one other person with the same 
problem that didn't get any replies.

Any ideas?

-- 
Dave Weis
djweis at internetsolver.com
http://www.internetsolver.com/



More information about the Cialug mailing list