<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 /usr/share/blog/public/

  ErrorLog ${APACHE_LOG_DIR}/error.log
  CustomLog ${APACHE_LOG_DIR}/access.log combined

<Directory /usr/share/blog/public/>
  Options FollowSymLinks Includes
  AllowOverride All
  Order allow,deny
  Allow from all
</Directory>

</VirtualHost>
