Setting Up A Directory For HTTPS Secure Certificate
| From: | revDAVE | Date: | Fri, 17 Apr 2009 21:08:48 +0000 |
| Subject: | Setting Up A Directory For HTTPS Secure Certificate | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-291655@lists.php.net to get a copy of this message | ||
I'm setting up a directory for HTTPS: secure certificate which in the past
was just http:
- I purchased a secure certificate which will be activated soon...
Q: Do I simply redirect any links that previously went to :
relative links:
/thisfolder/file.htm
now to the absolute reference:
https://mysite.com/thisfolder/file.htm ?
Then, once inside the secure dir. I can then go back to relative links and
they will stay in the secure folder - right?
- - - - -
! BUT - what is the best way to lock out users from going to the old, NOT
secure folder?
http://mysite.com/thisfolder/
?
- Someone mentioned modifying the .htaccess file and add some redirects -
I'll need some help with exactly how to do it - any ideas?
- also I imagine I can write some PHP code to redirect pages...
Q: what is the best way to accomplish this?
Thanks for your help
--
Thanks - RevDave
Cool @ hosting4days . com
[db-lists 09]