Redirecting to http
2 posts
• Page 1 of 1
Redirecting to http
In FireFox I am facing a problem, that if the use once visits the checkout page which is a SSL then every time user come to the Site
the Browser automatically uses the https protocol
Now I am trying to redirct the page to http if it HTTP is on and the query_string does not contains page=checkout. My Rules look like
But it seem not to be working. And in my log file I seems that ISAPI is trying to match the URI not the Query_String
where my url may look like
the Browser automatically uses the https protocol
Now I am trying to redirct the page to http if it HTTP is on and the query_string does not contains page=checkout. My Rules look like
- Code: Select all
RewriteCond %{HTTPS} on
RewriteCond Host: (.*)
RewriteRule (.*)\?(?!.*page=checkout.*)(.*)$ http\://1$2\?$3 [I,RP]
But it seem not to be working. And in my log file I seems that ISAPI is trying to match the URI not the Query_String
- Code: Select all
Log file entry
applying pattern '(.*)\?(?!.*page=checkout.*)(.*)$' to uri ''
where my url may look like
- Code: Select all
https://www.example.com?page=checkout&......
or
http://www.example.com?page=start&......
etc
- HeliconAndrew
-
- Posts: 1264
- Joined: 07 Mar 2012, 10:16
Re: Redirecting to http
Hello,
You problem can be solved by following FAQ under "URLs with question mark don't work" - http://www.helicontech.com/forum/10648-FAQ.html
Regards
Andrew
You problem can be solved by following FAQ under "URLs with question mark don't work" - http://www.helicontech.com/forum/10648-FAQ.html
Regards
Andrew
2 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 13 guests