Results 1 to 1 of 1
Related
-
HTTPS to IFRAME Forum: PHP Forum
Replies: 0 -
Extract References while connecting to an https server using NNTP perl Forum: CGI Perl Forum
Replies: 0 -
Connecting to an https server using NNTP perl Forum: CGI Perl Forum
Replies: 0 -
http://www.all4hits.com Forum: Show it off!
Replies: 0
-
03-16-2010, 02:10 PM #1
Rewrite from https to http? HELP!
Hello
I have met a problem with the rewrite of my .Htaccess.
Now i have my entire site to be rewrite'ed from http://www.mysite.com to https://secure.mysite.com
and it's encoded in my .htaccess:
[code] Options +FollowSymlinks
RewriteEngine on
RewriteCond %{HTTP_HOST} !^secure.mysite.com [NC]
RewriteRule ^(.*)$ https://secure.mysite.com/$1 [L,R=301] [/ code]
In this way, every single page redirected to my secure server at https://secure.mysite.com
It works very well and so it shall remain.
but there is a single page, which I do not want to become rewrite'ed,
eg I do not want to http://www.mysite.com/page1.php be rewriteed to https://secure.mysite.com/page1.php
it is the only urI do not want it to rewrite,
what should I add more to the code I have currently?
I hope you could help ..
ps. I am not an expert so I may like to write what to add to my code: wink:
Sincerely, Martin
Cloudjiffy- PaaS for Developers
10-05-2020, 12:30 AM in Web Hosting Forum