| Posted: 09 November 2011 at 9:14am | IP Logged
|
|
|
RewriteCond %HTTPS off RewriteCond Host: (.*) RewriteRule (.*) https\://$1$2 [I,RP]
The above rule redirects everything to https which is good but I want to prevent requests with a certain query string from being redirected.
Example:
http://mydomain.com/servlet/pageViewer?excelReport=true&val1=a&val2=b
When the query string contains "excelReport=true" I don't want the request redirected to https. I have serached the forum and found some examples but none work for my purpose.
Thanks...
|