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
The standard website will be opened but if they go to http://www.domain.com/somewhere/
Then apache is invoked to redirect to https
Can someone give me some insight on how I can accomplish this?