2014-08-30 09:38:24 +05:30

17 lines
374 B
Plaintext

<VirtualHost *:80>
## Force SSL
RewriteEngine on
ReWriteCond %{SERVER_PORT} !^443$
ReWriteCond %{REQUEST_URI} ^/plinth
RewriteRule ^/(.*) https://%{HTTP_HOST}/$1 [NC,R,L]
## Shared options.
DocumentRoot /dev/null
## Use this rule to hang plinth off of plinth.(servername)
# ServerName plinth
# ServerAlias plinth.*
</VirtualHost>