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. [T=text/x-server-parsed-html] will use the server-parsed handler, but set the return MIME type to text/html. B. --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx