rahuul Posted March 25, 2010 Share Posted March 25, 2010 hi friends, I want to make my login and some more pages secure (https://) like login.php, checkout.php to be https:// and rest of the others pages normal "http://". pls help how to do it, i have ssl on web server. do i need to configure anything Link to comment https://forums.phpfreaks.com/topic/196458-how-to-implement-ssl-on-some-pages/ Share on other sites More sharing options...
rahuul Posted March 25, 2010 Author Share Posted March 25, 2010 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 Link to comment https://forums.phpfreaks.com/topic/196458-how-to-implement-ssl-on-some-pages/#findComment-1031562 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.