httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Candler <>
Subject Re: [users@httpd] mod_rewrite setting handler
Date Thu, 28 Jul 2005 16:06:23 GMT
On Thu, Jul 28, 2005 at 12:42:32PM +0100, Brian Candler wrote:
> Question: is it possible to set the MIME-type and the handler separately in
> mod_rewrite?
> (1) If I do
> RewriteRule \.shtml?$  -  [T=server-parsed,L]
> then the page is parsed, but the wrong MIME type is sent to the client
> ("server-parsed" instead of "text/html")

To answer my own question, by looking at the source: there's a "magic" MIME
type for this case.


will use the server-parsed handler, but set the return MIME type to


The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message