For defaulting Apache2 just configure it to listen on 443 on ports.conf (you might also like to delete "Listen 80" if you don't want non-encrypted HTTP connections, and turn SSLEngine On, on your host's configuration (or VirtualHost). (make sure that you have mod_ssl installed)

If you want http connections to be automatically redirected to https, maybe this might help you http://apache.webthing.com/mod_proxy_html/ .

good luck

Chaim Keren Tzion wrote:
What is the recommended way to set up Apache2 so that all sites will default to ssl (https) even if entered as http?

I don't want to have to set up a rewrite for each directory or virtual server.

TIA,
Chaim
Witty Quote as Signature Here

=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to