Jump to content

how to implement ssl on some pages


rahuul

Recommended Posts

I got some code

 

RewriteCond %{HTTPS} off
RewriteCond %{REQUEST_URI} login\.php
RewriteRule (.*) https://localhost/website-colorprintingpros/login.php

RewriteCond %{HTTPS} on
RewriteCond %{REQUEST_URI} !login\.php
RewriteRule (.*) http://localhost/website-colorprintingpros/$1 

 

this fulfills some of my requirement but i also want this for 'checkout.php' page & 2 pages more if i repeat the code for those pages, i get error

 

"REDIRECT LOOP"

 

pls can some one help..................pls

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.