[tbnl-devel] URL rewrite for XHTML content-types, too

Edi Weitz edi at agharta.de
Mon Jul 19 12:27:51 UTC 2004


On Mon, 19 Jul 2004 11:54:42 +0200, Stefan Scholl <stesch at no-spoon.de> wrote:

> The documentation for *rewrite-for-session-urls* says that ""This
> only happens, though, if the body's content type (see CONTENT-TYPE)
> starts with "text/html""".
>
> XHTML can have other content types, too. See
> <http://www.w3.org/TR/xhtml-media-types/>
>
> OK, application/xml and text/xml are a bad choice, because you can't
> say if it's really a kind of XHTML or just another XML
> application. You have to parse the content itself for that.
>
> But application/xhtml+xml is OK and recommended.

How about this approach?

  <http://weitz.de/tbnl/#*content-types-for-url-rewrite*>

Cheers,
Edi.




More information about the Tbnl-devel mailing list