RFE: Control of HTTP cache control headers within mod_rewrite rules

2011-10-23 Thread Rowan Collins
Hello all, Recent versions of Firefox, IE, and Chrome will now cache HTTP 301 and 302 responses based on the cache control headers, (roughly) in line with the HTTP spec. This is, in general, a good thing, but can cause some issues, as I've discussed here: http://rwec.co.uk/q/cached-redirs When

Re: RFE: Control of HTTP cache control headers within mod_rewrite rules

2011-10-23 Thread Eric Covener
A more advanced version would be to allow custom HTTP headers using an [HH=Foo:Bar] syntax or similar, but this may be going a bit far. Does env=xxx in the Header directive then R=...,E= in RewriteRule work?

Re: RFE: Control of HTTP cache control headers within mod_rewrite rules

2011-10-23 Thread Rowan Collins
On 23/10/2011 20:54, Eric Covener wrote: A more advanced version would be to allow custom HTTP headers using an [HH=Foo:Bar] syntax or similar, but this may be going a bit far. Does env=xxx in the Header directive then R=...,E= in RewriteRule work? Hi Eric, I haven't got a test environment

Re: LUA hook ordering block/section form

2011-10-23 Thread Stefan Fritsch
On Monday 17 October 2011, Eric Covener wrote: I'm thinking of tweaking mod_lua to allow most LuaHook* to run early' or late. Currently they all run APR_HOOK_MIDDLE which can be kind of limiting. Would it be acceptable to just register three hooks for each phase (early/middle/late) and

Re: svn commit: r1187992 - /httpd/httpd/trunk/modules/filters/mod_filter.c

2011-10-23 Thread Roy T. Fielding
On Oct 23, 2011, at 3:19 PM, s...@apache.org wrote: else if (r-content_type) { const char **type = provider-types; AP_DEBUG_ASSERT(type != NULL); while (*type) { -if (strcmp(*type, r-content_type) == 0) { +/* Handle

Re: svn commit: r1187986 - in /httpd/httpd/trunk/docs/manual: custom-error.xml mod/core.xml

2011-10-23 Thread Roy T . Fielding
On Oct 23, 2011, at 3:09 PM, s...@apache.org wrote: --- httpd/httpd/trunk/docs/manual/mod/core.xml (original) +++ httpd/httpd/trunk/docs/manual/mod/core.xml Sun Oct 23 22:09:34 2011 @@ -1165,6 +1165,7 @@ in case of an error/description ErrorDocument 404 /cgi-bin/bad_urls.plbr /