Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <VirtualHost *:80>
- ServerAdmin admin@admin.com
- ServerName drupal-old.pxlttt.be
- ServerAlias drupal-old.pxlttt.be
- DocumentRoot /var/www/drupal/
- <Directory />
- Options +FollowSymLinks
- AllowOverride None
- RewriteEngine on
- RewriteCond %{HTTP_HOST} ^drupal-old.pxlttt.be [NC]
- RewriteRule ^(.*)$ http://drupal-old.pxlttt.be/ [R=301,NC]
- </Directory>
- <Directory /var/www/drupal>
- Options -Indexes +FollowSymLinks +MultiViews
- AllowOverride None
- Order allow,deny
- allow from all
- # This directive allows us to have apache2's default start page
- # in /apache2-default/, but still have / go to the right place
- #RedirectMatch ^/$ /apache2-default/
- </Directory>
- ErrorLog /var/log/apache2/error.log
- # Possible values include: debug, info, notice, warn, error, crit,
- # alert, emerg.
- LogLevel warn
- CustomLog /var/log/apache2/access.log combined
- ServerSignature On
- </VirtualHost>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement