Re: [EMAIL PROTECTED] mod_rewrite setting handler

2005-07-28 Thread André Malo
* Brian Candler wrote: > 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. Further, in 2.1/2.2 it will be possible to explicit

Re: [EMAIL PROTECTED] mod_rewrite setting handler

2005-07-28 Thread Brian Candler
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

[EMAIL PROTECTED] mod_rewrite setting handler

2005-07-28 Thread Brian Candler
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") (2) If I do AddHandler server-parse