Advertisement
chusiang

Virtual host for Drupal Multisite

Apr 19th, 2013
359
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.57 KB | None | 0 0
  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>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement