This forum has been moved here:
Helicon Tech Community Forum

  Active TopicsActive Topics  Display List of Forum MembersMemberlist  HelpHelp   RegisterRegister  LoginLogin
ISAPI_Rewrite 2.x (Forum Locked Forum Locked)
 Helicon Tech : ISAPI_Rewrite 2.x
Subject Topic: Redirecting to lowercase URL looses POST
Message |

Joined: 03 August 2010
Location: United Kingdom
Posts: 4
Posted: 03 August 2010 at 9:25am


Another problem. When I try to force a URL to be lowercase with a redirect (so the URL also shows as lowercase - something we need for google analytics consistency) I'm, understandably, loosing any POST data that may have been submitted with the request.

Is there any way to maintain this?

Am I right in thinking that the only way around this would be to check for a post method and then ignore the lowercase rule? Something like this:

RewriteRule ^(.*[A-Z].*)$ $1 [CL,RP]

But this doesn't seem to work. I do have this working at Helicon v3/IIS 7 but not with version 2/IIS6.

Any thoughts?


Back to Top Visit stevebombedout's Homepage
Admin Group

Joined: 30 January 2007
Location: Ukraine
Posts: 10519
Posted: 04 August 2010 at 3:14am

Please try to use the following syntax for v2:

RewriteCond METHOD (?!.*POST.*).*
RewriteRule (.*[A-Z].*) http\://$1 [CL,RP]

Back to Top

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

Printable version Printable version
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum