* 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
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
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