You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by André Malo <nd...@perlig.de> on 2003/07/30 23:18:14 UTC

better hook for mod_rewrite forcetype feature

In order to really make sure, that the mod_rewrite forcetype [T=...] takes
effect regardless of any static configuration, I'm playing with the idea to
hook second time into the fixup stage at LAST position. This hook would be
responsible for setting remembered mime-type both from server-context and
directory context. The type-checker hook of mod_rewrite would disappear then.
(Additionally this would probably solve the problem, that [T=...] in server
context disables multiviews.

Objections? Comments?

nd

Re: better hook for mod_rewrite forcetype feature

Posted by André Malo <nd...@perlig.de>.
* André Malo wrote:

> In order to really make sure, that the mod_rewrite forcetype [T=...] takes
> effect regardless of any static configuration, I'm playing with the idea to
> hook second time into the fixup stage at LAST position. This hook would be
> responsible for setting remembered mime-type both from server-context and
> directory context. The type-checker hook of mod_rewrite would disappear
> then. (Additionally this would probably solve the problem, that [T=...] in
> server context disables multiviews.

A working patch is attached. I'll commit it within some time if nobody
objects.

nd