perl Makefile.PL MP_COMPAT_1X=1 MP_AP_PREFIX=../httpd-2.0.47
Reading Makefile.PL args from @ARGV MP_COMPAT_1X = 1 MP_AP_PREFIX = ../httpd-2.0.47 Configuring Apache/2.0.47 mod_perl/1.99_10-dev Perl/v5.8.0 Failed to obtain the MPM name at lib/Apache/Build.pm line 169.
Thanks for the catch, please try with the latest cvs, it should work now.
After you complete the normal build and test, do:
cd ModPerl-Registry t/TEST -v 304
the relevant files are t/304.t and t/cgi-bin/304.pl
What originally led me to look into this problem was a malformed date in the If-Modified-Since header, that a badly-written client was sending, like so:
If-Modified-Since: Thu Jul 3 00:00:00 2003
In the current version, if I test with a valid date, it always works as expected. I'm fairly positive that it failed in 1.99_09, though.
does the test fail if you copy it to the 1.99_09 checkout?
I can still reproduce the problem on a fully-working server, with the CVS version, if I use this malformed date with GET and some URLs. Whether or not it fails seems to depend on something I can't nail down; perhaps it's the length of the URL, or even of the content. I can't reproduce the problem by modifying your 304.t to use this date.
Well, if you figure out how to break it, please send a patch. Meanwhile I'm extending this test to verify bogus dates as well. Will commit the change shortly.
Installing my original patch does seem to clear up the problem, even now. Of course, it's hard to tell if maybe it's just masking the symptom.
Could be. It's definitely not the right patch, since the return status has nothing to do with HTTP status, however it could be a bug in the httpd code.
__________________________________________________________________ Stas Bekman JAm_pH ------> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
