Hi,
I have two webpages...
1. www.mypage.com and
2. www.mypage.com/private
The issue that I am having is, I need to redirect all http requests coming
to http://www.mypage.com/private to https://www.mypage.com
However, I don't want the requests coming to http://www.mypage.com to be
redirected
sangfroid wrote:
Hi,
I have two webpages...
1. www.mypage.com and
2. www.mypage.com/private
The issue that I am having is, I need to redirect all http requests coming
to http://www.mypage.com/private to https://www.mypage.com
However, I don't want the requests coming to http://www.mypage.com
Hi John,
Thank you for the reply. I also found one more way to do it ...
Added the following directive in httpd.conf
Location /private
RewriteEngine On
ReWriteCond %{HTTPS} !=on
RewriteRule .* https://%{HTTP_HOST}:443%{REQUEST_URI} [QSA,R=permanent,L]
/Location
However, now the
sangfroid wrote:
Hi John,
Thank you for the reply. I also found one more way to do it ...
Added the following directive in httpd.conf
Location /private
RewriteEngine On
ReWriteCond %{HTTPS} !=on
RewriteRule .* https://%{HTTP_HOST}:443%{REQUEST_URI} [QSA,R=permanent,L]
/Location