This forum has been moved here:
Helicon Tech Community Forum

ISAPI_Rewrite 3.0 (Forum Locked Forum Locked)
 Helicon Tech : ISAPI_Rewrite 3.0
Subject Topic: aspx not rewriting
Message |

Joined: 23 December 2011
Location: United Kingdom
Posts: 1
Posted: 23 December 2011 at 3:27am

Hi there,

I am a little new to URL rewriting and I am trying to diagnose a problem we are having with an IIS7 environment. We use ASP.NET storefront for our online shop.

I have turned the logging up to 9 and loglevel to debug.

What is happening is:

if a user goes to (or anyother word without a page suffix (i.e. aspx/html) it will be redirected correctly. However, if we try and redirect any page with a .aspx extension it doesn't work correctly.

I have no idea where to take my troubleshooting from here. IIS settgins appear to be correct for the .aspx handlers and the isapie rewrite.dll is the first in the ordered list of isapi modules in IIS.

The wierd thing is this was working up untill a couple of months ago. No-one knows when it stopped working unfortunately.

an example would be if a user goes to

/p-2610-kitty-lea-2011-wall-calendar.aspx it should redirect to

An example line in the config is:

RewriteRule /p-2610-kitty-lea-2011-wall-calendar.aspx /c-300-female-model-calendars.aspx [R=301,L,NC]

Similalry if we put in a browser it should redirect to default.aspx

but instead it goes to:


We have no other URL rewriting tool so I really have no dea where this is coming from.

The wierd thing is that if I change the rewrite rule and remove the .aspx extenstion on the url that the customer browser asks for it then works as expected!

any help would be greatly, greatly appreciated!



Edited by paulow1978 - 23 December 2011 at 3:29am
Back to Top

Joined: 01 October 2003
Online Status: Online
Posts: -160
Posted: 26 December 2011 at 5:01am

Hello Paul,

Tha answer might be quite simple. You need to escape the '.' in a matching pattern. As in following:
RewriteRule /p-2610-kitty-lea-2011-wall-calendar\.aspx$ /c-300-female-model-calendars.aspx [R=301,L,NC]

What does rewrite.log say? Please, provide the log for the testing request.

Back to Top

Sorry, you can NOT post a reply.
This forum has been locked by a forum administrator.

Printable version Printable version