[Catalyst] If-Modified-Since Plugin::Static Engine::Apache

Andy Grundman andy at hybridized.org
Fri May 26 17:35:42 CEST 2006

On 5/26/06, Andrew Bramble <andrew.bramble at omnilab.com.au> wrote:
> Hello,
> Has anyone else experienced problems with  $c->serve_static_file and Apache2/
> mod_perl ?
> I have discovered that when running under modperl2 the initial request
> succeeds but a subsequent request for the same file (with header specifying
> 'Is-Modified-Since' ) generates 500 internal error from apache in situations
> where Plugin::Static has set response status to 304. Nothing enlightening
> appears in the debug output, This does not occur when running with the
> catalyst http server.

Hmm, the 304 code was removed in Static::Simple 0.11, so maybe you
need to upgrade?  Also, under Apache, don't use Static::Simple, let
Apache serve the files directly, it will be much faster.

More information about the Catalyst mailing list