move redirect to correct virtualhost
parent
46c0e00431
commit
14b1310734
|
@ -1,12 +1,13 @@
|
||||||
<VirtualHost *:80>
|
<VirtualHost *:80>
|
||||||
ServerName www.publiccode.eu
|
ServerName www.publiccode.eu
|
||||||
Redirect permanent / https://publiccode.eu/
|
Redirect permanent / https://publiccode.eu/
|
||||||
RedirectMatch permanent ^/zh_tw/?(.*)$ https://publiccode.eu/zh-tw/$1
|
|
||||||
</VirtualHost>
|
</VirtualHost>
|
||||||
|
|
||||||
<VirtualHost *:80>
|
<VirtualHost *:80>
|
||||||
ServerName publiccode.eu
|
ServerName publiccode.eu
|
||||||
|
|
||||||
|
RedirectMatch permanent "^/zh_tw/?(.*)$" "/zh-tw/$1"
|
||||||
|
|
||||||
ServerAdmin contact@fsfe.org
|
ServerAdmin contact@fsfe.org
|
||||||
DocumentRoot /usr/share/blog/public/
|
DocumentRoot /usr/share/blog/public/
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue