janikvonrotz
11/15/2013 - 9:22 AM

Apache: Virtual Host Permanent Redirect #Apache

Apache: Virtual Host Permanent Redirect #Apache

<VirtualHost *:80>
  ServerName domain.ch
  ServerAlias www.domain.ch
  ServerAdmin webmaster@domain.ch
  ErrorLog /var/log/apache2/domain.ch-error.log
  CustomLog /var/log/apache2/domain.ch-access.log combined	 
  Redirect permanent / http://www.somewhere.ch/aktuell/whatever/
</VirtualHost>