Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.