You should be able to redirect HTTP to HTTPS using Server Admin and the Aliases and Redirect options in the Web Service for the site in question, have your initial web site set up to share over Port 80, duplicate it using the duplicate option, on the duplicate option switch the port number to 443 by checking the “Enable SSL” in the security tab then delete the word “copy from the domain. Restart the service.
Click the site on Port 80, go to the Aliases tab, click on the plus tab of “Aliases and Redirects” – add in a Redirect with a pattern of / to https://server.test.com
This will then add in the redirect for anything that hits the Port 80 regular HTTP and force it over to HTTPS.
Sometimes the redirect tools don’t always work and you may need to edit the apache site config file to force a HTTP connection to HTTPS.
Same initial procedure applies, in server admin have your initial web site set up to share over Port 80, duplicate it using the duplicate option below. On the duplicate option switch the port number to 443 by checking the “Enable SSL” in the security tab then delete the word “copy from the domain. Restart the service.
Then in your favourite text editor via command line or GUI (I like Text Wrangler) with admin access, edit the HTTP sites configuration file, filed on Snow Leopard Server at:
/etc/apache2/sites
0001_192.168.0.102_80_server.test.com.conf – (your equivalent 🙂
and add in anywhere between the Virtual Host tag:
RedirectPermanent / https://test.com/
Should be good to go !!