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: Rewrite UPPERCASE to lowercase?
Author
Message |
NTQB
Newbie


Joined: 24 February 2010
Posts: 24
Posted: 05 November 2011 at 2:26am

Hello!

I want a simple example for rewriting uppercase urls to lowercase.

I'm using Isapi Rewrite 3.

Thank you!

Back to Top Visit NTQB's Homepage
 
Guests
Guest


Joined: 01 October 2003
Online Status: Online
Posts: -160
Posted: 07 November 2011 at 6:26am

Hello,

Try using:

Code:
RewriteEngine on
RewriteBase /

RewriteCond %{HTTP_HOST} (.*)
RewriteRule ^(.*[A-Z].*)$ http\://%1$1 [R=301,CL,L]


Regards
Andrew
Back to Top
 
NTQB
Newbie


Joined: 24 February 2010
Posts: 24
Posted: 09 November 2011 at 12:46am

I don't know why but is not working.
I have IIS7 with URL Rewrite Module 2 on my computer.
Do you have any other suggestions?
Thank you!
Back to Top Visit NTQB's Homepage
 
Guests
Guest


Joined: 01 October 2003
Online Status: Online
Posts: -160
Posted: 11 November 2011 at 5:38am

What version of ISAPI_Rewrite do you have?
It used to be 3, now it's 2.


Regards
Andrew
Back to Top
 
NTQB
Newbie


Joined: 24 February 2010
Posts: 24
Posted: 12 November 2011 at 9:59am

I have Isapi Rewrite 3.
Back to Top Visit NTQB's Homepage
 
Guests
Guest


Joined: 01 October 2003
Online Status: Online
Posts: -160
Posted: 14 November 2011 at 6:04am

Hm... weird.
Please, provide the rewrite.log for the testing request.
Logging issues described in FAQ

Regards
Andrew
Back to Top
 

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

Printable version Printable version