durusmail: quixote-users: Overlaying a static directory
Overlaying a static directory
2005-04-11
2005-04-12
2005-04-12
2005-04-12
2005-04-13
2005-04-13
2005-04-14
2005-04-14
2005-04-14
2005-04-14
2005-04-14
2005-04-14
2005-04-14
2005-04-14
2005-04-14
2005-04-14
David Binger (3 parts)
2005-04-14
2005-04-14
2005-04-13
2005-04-14
2005-04-14
2005-04-13
SCGI util.
2005-04-12
2005-04-13
2005-04-13
2005-04-13
2005-04-13
Overlaying a static directory
Ryan Tomayko
2005-04-14
On Apr 13, 2005, at 10:24 PM, mso@oz.net wrote:
> David Binger wrote:
>> Another interesting test would be to comment out lines in
>> StaticFile that set headers.
>
> Commenting out this line gets rid of the internal server error:
>
>     response.set_header('Last-Modified', last_modified)
>

Crap. I've run into this issue before. IIRC, when the SCGI piece sent a
future date back to apache in the Last-Modified header, apache didn't
like it. I ended up having to subtract a minute from the date or
something. I could recreate the problem pretty reliably by explicitly
setting the date to something far into the future.

I know this is really bad detail and I'm sorry. I wish I could do
better but this was at least 9 months ago and I can't remember exactly
what ended up fixing me. I'm positive it was something around the
Last-Modified header though. Apache 2, btw.

Ryan


reply