Strange mod_perl2/Apache2 behavior -- I think

2003-08-20 Thread Bill Rini
Here's a little snippet from a sample script: package MyApache::MyPackage; use strict; use warnings; use Apache::RequestRec (); use Apache::RequestIO (); use Apache::DBI; use APR::Table; use Apache::Const qw(OK REDIRECT DECLINED); use Apache::RequestUtil (); sub handler { my $r = shift; my

Re: Strange mod_perl2/Apache2 behavior -- I think

2003-08-20 Thread Stas Bekman
[...] Location /b PerlSendHeader On SetHandler perl-script PerlHandler MyApache::MyPackage /Location [...] I want the document root directory to be handled by the PerlResponseHandler (i.e. Location /). For specific types of requests I would like the above handler to look

Re: Strange mod_perl2/Apache2 behavior -- I think

2003-08-20 Thread Bruce Tennant
I think you need to wrap it in a files block. The location block is sending all files to the perl handler. I had this problem, except it was trying to execute all of my non-perl files. Inside location, put something like Location /b FilesMatch \.(pl|pm|cgi)$ ... your mod_perl configs here

Re: Strange mod_perl2/Apache2 behavior -- I think

2003-08-20 Thread Bill Rini
errors in facts, spelling, or tact are transmission errors caused by your email client. http://www.windowsix.com From: Stas Bekman [EMAIL PROTECTED] To: [EMAIL PROTECTED] CC: [EMAIL PROTECTED] Subject: Re: Strange mod_perl2/Apache2 behavior -- I think Date: Wed, 20 Aug 2003 14:21:54 -0700