Difference between revisions of "SSL only virtualhost"
From Organic Design wiki
(example VH config) |
m (Caretaker: {{#security:edit|*}}) |
||
Line 1: | Line 1: | ||
+ | {{#security:edit|*}} | ||
<VirtualHost *:80> | <VirtualHost *:80> | ||
ServerName mywebsite.nz | ServerName mywebsite.nz |
Latest revision as of 06:28, 16 April 2007
{{#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>