Monday, August 1, 2011

Solved : UrlRewrite.xml validation issue within xml

I have run into this issue with UrlRewrite
What steps will reproduce the problem?
1. Validate the 3.2 urlrewrite.xml using the doctype ' "http://tuckey.org/res/dtds/urlrewrite3.2.dtd">' (in eclipse for me)



Solution::

THe tucker.org server seems to have a rewrite rule to redirect all calls without www to the home page
Simple change the doctype header to the following.

This is the right solution rather than a lot of hacks.


DOCTYPE urlrewrite PUBLIC "-//tuckey.org//DTD UrlRewrite 3.2//EN" "http://www.tuckey.org/res/dtds/urlrewrite3.2.dtd

No comments: