SHARE
TWEET

Virtual host for Drupal Multisite

chusiang Apr 19th, 2013 90 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <VirtualHost *:80>
  2.  
  3.         ServerAdmin     admin@pig.tw
  4.         ServerName      s1.pig.tw
  5.        
  6.         DocumentRoot    /var/www/drupal
  7.         ErrorLog        /var/log/apache2/s1-drupal-error.log
  8.         CustomLog       /var/log/apache2/s1-drupal-access.log combined
  9.         ServerSignature On
  10.         LogLevel        warn
  11.        
  12.         <Directory />
  13.                 Options FollowSymLinks
  14.                 AllowOverride None
  15.         </Directory>
  16.         <Directory "/var/www/drupal/">
  17.                 Options -Indexes FollowSymLinks MultiViews
  18.                 AllowOverride All
  19.             ErrorDocument 403 /
  20.                 Order Allow,Deny
  21.             Allow from All
  22.                 RewriteEngine On
  23.         </Directory>
  24.  
  25. </VirtualHost>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top