publiccode.si/000-default.conf

25 lines
514 B
Plaintext

<VirtualHost *:80>
ServerName www.publiccode.eu
Redirect permanent / https://publiccode.eu/
</VirtualHost>
<VirtualHost *:80>
ServerName publiccode.eu
RedirectMatch permanent "^/zh_tw/?(.*)$" "/zh-tw/$1"
ServerAdmin contact@fsfe.org
DocumentRoot /var/www/html
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
<Directory /var/www/html/>
Options FollowSymLinks Includes
AllowOverride All
Order allow,deny
Allow from all
</Directory>
</VirtualHost>