LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   debian sarge apache-ssl configuration (https://www.linuxquestions.org/questions/debian-26/debian-sarge-apache-ssl-configuration-276103/)

notolerance 01-10-2005 10:44 AM

debian sarge apache-ssl configuration
 
I am running a dedicated server for gaming that I'm trying to convert to run ecommerce websites. All virtual hosts that I have configured in the /etc/apache/http.conf will work with http and https correctly if you manually type in the website.

I want to be able to configure the server so that when a specific directory under the main is opened it is redirected to https instead of http.
IE if someone goes to the main site
http://www.domain.com
The standard website will be opened but if they go to http://www.domain.com/somewhere/
Then apache is invoked to redirect to https
https://www.domain.com/somewhere/

Can someone give me some insight on how I can accomplish this?


All times are GMT -5. The time now is 06:10 PM.