Advertisement
Rijen

Apache VirtualHosts Myltiple

Jul 9th, 2014
349
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ServerName localhost
  2. <VirtualHost *:80>
  3.     ServerAdmin root@localhost
  4.     <Directory /var/www>
  5.         Options Indexes FollowSymLinks MultiViews
  6.         AllowOverride All
  7.         Order allow,deny
  8.         allow from all
  9.        </Directory>
  10.  
  11.     UseCanonicalName Off
  12.     VirtualDocumentRoot /var/www/%0
  13.  
  14.     ErrorLog ${APACHE_LOG_DIR}/error.log
  15.         LogLevel warn
  16.         CustomLog ${APACHE_LOG_DIR}/access.log combined
  17. </VirtualHost>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement