Replaced url rewriting by UrlRewriter for response headers.
http://www.esigate.org/mantisbt/view.php?id=83
http://www.esigate.org/mantisbt/view.php?id=285