Advertisement
Guest User

Untitled

a guest
Dec 9th, 2016
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.49 KB | None | 0 0
  1. NameVirtualHost *:80
  2.  
  3. <VirtualHost *:80>
  4. ServerName site1.domain.com
  5. DocumentRoot "/var/www/site1"
  6. ServerAdmin webmaster@localhost
  7. ErrorLog ${APACHE_LOG_DIR}/error.log
  8. CustomLog ${APACHE_LOG_DIR}/access.log combined
  9. </VirtualHost>
  10.  
  11. <VirtualHost *:80>
  12. ServerName site2.domain.com
  13. DocumentRoot "/var/www/site2"
  14. SetEnv ENV dev
  15.  
  16. <Directory "/var/www/site2">
  17. Options -Indexes +FollowSymLinks +MultiViews
  18. AllowOverride All
  19. Require all granted
  20. </Directory>
  21.  
  22. </VirtualHost>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement