10

I'm using the IIS URL Rewrite module successfully for known file extensions (.aspx, .html, etc.) However, how can I use the IIS URL Rewrite module for requests with no extensions, or files that do not exist?

For instance:

http://www.example.com/products

should be redirected to a URL in my Rewrite Map.

I've tried putting this in my Rewrite Map but I get a 404.4 "No Handler Specified" error from IIS.

Cœur
  • 37,241
  • 25
  • 195
  • 267
Tim P.
  • 2,903
  • 24
  • 26
  • Yes, this is certainly possible. The following article details how to handle the exact situation you describe: http://learn.iis.net/page.aspx/469/using-rewrite-maps-in-url-rewrite-module/ – Rob May 17 '11 at 23:40

0 Answers0