Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- NameVirtualHost *:80
- <VirtualHost *:80>
- ServerName site1.domain.com
- DocumentRoot "/var/www/site1"
- ServerAdmin webmaster@localhost
- ErrorLog ${APACHE_LOG_DIR}/error.log
- CustomLog ${APACHE_LOG_DIR}/access.log combined
- </VirtualHost>
- <VirtualHost *:80>
- ServerName site2.domain.com
- DocumentRoot "/var/www/site2"
- SetEnv ENV dev
- <Directory "/var/www/site2">
- Options -Indexes +FollowSymLinks +MultiViews
- AllowOverride All
- Require all granted
- </Directory>
- </VirtualHost>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement