SSL only virtualhost

From Organic Design wiki
Revision as of 05:22, 13 June 2006 by Rob (talk | contribs) (example VH config)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

<VirtualHost *:80> ServerName mywebsite.nz RedirectMatch ^/(.*)$ https://mywebsite.nz/$1 </VirtualHost>

<VirtualHost *:443> ServerAdmin webmaster@cs.auckland.ac.nz ServerName mywebsite.nz DocumentRoot /www/htdocs/mywebsite.nz <VirtualHost>