| Posted: 09 November 2007 at 2:10pm | IP Logged
|
|
|
Hi Lexey
I am still having trouble with this. here is my test httpd.ini file.
ISAPI_Rewrite]
#fix URLs without trailing slashes RewriteCond %HTTPS (on).* RewriteCond Host: (.*) RewriteRule ([^.?]+[^.?/]) http(?1s)\://$2$3/ [I,R]
#Force SSL onRewriteCond %HTTPS (?!on).* RewriteRule /secure(/.*)? https\://localhost/secure$1 [I,RP]
#Force SSL offRewriteCond %HTTPS on RewriteRule /content(/.*)? http\://localhost/content$1 [I,RP]
I get the error:
localhost has sent an incorrect or unexpected message. Error Code: -12263
If I comment out the top section, the secure section works but I get the error on the content section.
with nothing commented out I get the error on the secure section.
I can't seem to go from https to http (although I don't really need to do this)
A
Thanks
Edited by Lexey - 09 November 2007 at 3:37pm
|