daily pastebin goal
49%
SHARE
TWEET

Untitled

a guest Nov 1st, 2016 105 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <VirtualHost *:80>
  2.         ServerAdmin admin@admin.com
  3.         ServerName drupal-old.pxlttt.be
  4.         ServerAlias drupal-old.pxlttt.be
  5.  
  6.         DocumentRoot /var/www/drupal/
  7.         <Directory />
  8.                 Options +FollowSymLinks
  9.                 AllowOverride None
  10.                 RewriteEngine on
  11.                 RewriteCond %{HTTP_HOST} ^drupal-old.pxlttt.be [NC]
  12.                 RewriteRule ^(.*)$ http://drupal-old.pxlttt.be/ [R=301,NC]
  13.         </Directory>
  14.         <Directory /var/www/drupal>
  15.                 Options -Indexes +FollowSymLinks +MultiViews
  16.                 AllowOverride None
  17.                 Order allow,deny
  18.                 allow from all
  19.                 # This directive allows us to have apache2's default start page
  20.                 # in /apache2-default/, but still have / go to the right place
  21.                 #RedirectMatch ^/$ /apache2-default/
  22.         </Directory>
  23.  
  24.         ErrorLog /var/log/apache2/error.log
  25.  
  26.         # Possible values include: debug, info, notice, warn, error, crit,
  27.         # alert, emerg.
  28.         LogLevel warn
  29.  
  30.         CustomLog /var/log/apache2/access.log combined
  31.         ServerSignature On
  32. </VirtualHost>
RAW Paste Data
Top