At 2:33 PM -0700 8/7/03, Stas Bekman wrote:
Dan, unfortunately I can't reproduce this problem (I think I did some time ago, but not any longer). I've added a formal test to the mod_perl test suite which works for me. Can you please get the latest mod_perl 2.0 cvs
http://perl.apache.org/download/source.html#Development_mod_perl_2_0_Source_Distributionand see if it works for you. If it doesn't try to break it.

I can't get this to compile as-is. Here's what happens:


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.

`whereis apxs` only returns one option, so I'm not sure where the confusion is. When I run apxs manually, I get:

apxs -q MPM_NAME
prefork

so I just hacked sub mpm_name() to return 'prefork', and it worked.

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.

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.

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.

--
Dan Wilga                                         [EMAIL PROTECTED]
Web Technology Specialist                     http://www.mtholyoke.edu
Mount Holyoke College                                Tel: 413-538-3027
South Hadley, MA  01075                                        "Oook."

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to