I have been using URL Rewrite 2.0 for a year with some simple redirects for requests for a now non-existent pages to new active pages.
Old URL:
http://help.tracker-software.com/endusers/view/Category:Driver5
New URL:
http://help.tracker-software.com/EUM/default.aspx?pageid=PDFXSTD5:welcome_std_2012&skin=5STD
my rule is
Match URL
Requested URL: Matches Pattern
Using: Exact Match
Pattern: endusers/view/Category:Driver5
Ignore case: checked
Action
Action Type: Redirect
Redirect URL: EUM/default.aspx?pageid=PDFXSTD5:welcome_std_2012&skin=5STD
Append query string: checked
Redirect type: Permanent.
This rule worked when I had 1 website running on the server, now that I have 2 it appears that the redirect rules no longer work and I get the following error when using the old url:
Server Error in '/' Application.
A potentially dangerous Request.Path value was detected from the client (:).
Description:An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Web.HttpException: A potentially dangerous Request.Path value was detected from the client (:).
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. |
Stack Trace:
[HttpException (0x80004005): A potentially dangerous Request.Path value was detected from the client (:).] System.Web.HttpRequest.ValidateInputIfRequiredByConfig() +9101609 System.Web.PipelineStepManager.ValidateHelper(HttpContext context) +59 |
I have removed and re-added all rules, uninstalled and reinstalled URL rewrite 2.0 and am getting no where.
I would be grateful if anyone had any ideas.
Thanks,
Chris