Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Can people choose to see the same pages as normal non-ssl encrypted (http://blabla) ...' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Can people choose to see the same pages as normal non-ssl encrypted (http://blabla) ...
Authored by: Uncle Ward on Jun 14, '05 05:02:19PM

People can try to access your secure site with http://your site.com; however, you can keep them out with a little simple PHP code at the top of your secure site web pages:

$port=$_SERVER["SERVER_PORT"];
if($port<>"443") :
// insecure site code goes here
exit();
endif ;



[ Reply to This | # ]