views:

42

answers:

1

Currently we are using Managed Fusion Rewriter to handle rewrites, however, we have been unable to determine a way to have it do a rewrite to urls all lowercase. Unfortunately, upgrading to IIS 7 isn't an option right now. Does anyone have any experience utilizing another rewrite module to handle rewriting to lowercase urls.

A: 

Managed Fusion Rewriter uses the same syntax as Apache's mod_rewrite module, which I would presume means that you can use mod_rewrite's rules, as well.

Try the lowercase URL rule located here.

The pertinent bits are:

RewriteMap  lc int:tolower
RewriteCond %{REQUEST_URI} [A-Z]
RewriteRule (.*) ${lc:$1} [R=301,L]
Tim S. Van Haren