Guest User

Untitled

a guest
Oct 18th, 2017
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.63 KB | None | 0 0
  1. <VirtualHost *:80>
  2. ServerName www.example.com
  3. ServerAdmin webmaster@localhost
  4. DocumentRoot /var/www/html
  5.  
  6. <Directory /var/www/html>
  7. Options Indexes MultiViews FollowSymLinks
  8. AllowOverride All
  9. Order allow,deny
  10. Allow from all
  11. </Directory>
  12.  
  13. ErrorLog ${APACHE_LOG_DIR}/error.log
  14. CustomLog ${APACHE_LOG_DIR}/access.log combined
  15.  
  16. Alias /log/ "/var/log/"
  17.  
  18. <Directory "/var/log/">
  19. Options Indexes MultiViews FollowSymLinks
  20. AllowOverride None
  21. Order deny,allow
  22. Deny from all
  23. Allow from all
  24. Require all granted
  25. </Directory>
  26. </VirtualHost>
Add Comment
Please, Sign In to add comment