LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Securing a website directory with ssl? (https://www.linuxquestions.org/questions/linux-software-2/securing-a-website-directory-with-ssl-371353/)

Doctor Doom 10-09-2005 08:08 PM

Securing a website directory with ssl?
 
I'm trying to get apache 1.13.33 + mod_ssl to secure a sub-directory of a website with ssl. I'm having trouble figuring out the proper way to setup my httpd.conf virtualhost for the website so it will serve the main site on port 80 and then kick over to port 443 and SSL whenever someone tries to access the subdirectoy. Cany anyone point my to a good example virtualhost?

unSpawn 10-10-2005 06:58 PM

Haven't got any, but this should get you started: Using Apache's RewriteEngine to redirect requests to other URLS and to https:// and Apache 2.0 module mod_rewrite. You also gotta do a rewrite back from https to http for URI's that shouldn't be SSL'ized.


All times are GMT -5. The time now is 08:26 PM.