SSL only virtualhost

From Organic Design wiki
Revision as of 06:28, 16 April 2007 by Bender (talk | contribs) (Caretaker: {{#security:edit|*}})
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

{{#security:edit|*}} <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>