Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- .htaccess:
- # From www to non-www classicalmusicrookies.com
- #RewriteEngine On
- #RewriteBase /
- #RewriteCond %{HTTP_HOST} ^www.classicalmusicrookies.com$ [NC]
- #RewriteRule ^(.*)$ http://classicalmusicrookies.com/$1 [R=301,L]
- #From www to non-www klassiekemuziek.tv
- #RewriteEngine On
- #RewriteBase /
- #RewriteCond %{HTTP_HOST} ^www.klassiekemuziek.tv$ [NC]
- #RewriteRule ^(.*)$ http://klassiekemuziek.tv/$1 [R=301,L]
- #From www to non-www timkranen.com
- #RewriteEngine On
- #RewriteBase /
- #RewriteCond %{HTTP_HOST} ^www.timkranen.com$ [NC]
- #RewriteRule ^(.*)$ http://timkranen.com/ [R=301,L]
- #From www to non-www toonverbeek.com
- RewriteEngine on
- RewriteBase /
- RewriteCond %{HTTP_HOST} ^www.toonverbeek.com$ [NC]
- RewriteRule ^(.*)$ http://toonverbeek.com$1 [R=301,L]
- <IfModule mod_rewrite.c>
- RewriteEngine On
- RewriteBase /
- RewriteRule ^index\.php$ - [L]
- RewriteCond %{REQUEST_FILENAME} !-f
- RewriteCond %{REQUEST_FILENAME} !-d
- RewriteRule . /index.php [L]
- </IfModule>
- virtual hosts(apache2/sites-available)
- <VirtualHost *:80>
- DocumentRoot /var/www/classicalmusicrookies.com
- ServerName klassiekemuziek.tv
- ServerAlias www.klassiekemuziek.tv
- </VirtualHost>
- and
- <VirtualHost *:80>
- DocumentRoot /var/www/timkranen.com
- ServerName timkranen.com
- ServerAlias www.timkranen.com
- </VirtualHost>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement