March 2010
M T W T F S S
« Feb    
1234567
891011121314
15161718192021
22232425262728
293031  

Apache redirect from HTTP to HTTPS (SSL) on same server

I want to redirect an HTTP connection to HTTPS on same server, to avoid wrong access through HTTP to some information that I dont want to be public, like awstats or services that I want to be secure like phpmyadmin.
The first thing that one thinks seems weird at first view, using mod_alias Redirect directive:

Redirect [...]

Secure mail server

Just for the record, two articles on how to configure on GNU/LiNUX a Postfix server as secure smtp server with TLS, and another one about configuring a Courier server with SSL (both IMAP and POP3), and how to test them that I’ve found specially clear:
SSL/TLS server Configuration Tutorial