aboutsummaryrefslogtreecommitdiffstats
path: root/deployment/websites/templates/vhost_www.conf
blob: c763475927cbe8fc04f5a15e2bfdf57d4ac5818e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
Redirect /wiki https://wiki.mageia.org/#

# Everything under /g/ is static content to be served by a seconday host
RewriteEngine On
RewriteRule ^g/(.+)$    https://static.mageia.org/g/$1 [R,L,QSA]

ErrorDocument 404 /404.php

php_value short_open_tag false

# switch all to https
RewriteRule ^/?(.*) https://%{SERVER_NAME}/$1 [R,L]