Advertisement
Guest User

apacheissue

a guest
Nov 29th, 2018
14
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  1. 000-default.conf
  2.  
  3. <VirtualHost 127.0.0.1>
  4. ServerAdmin webmaster@localhost
  5. DocumentRoot /var/www/html
  6. ErrorLog ${APACHE_LOG_DIR}/error.log
  7. CustomLog ${APACHE_LOG_DIR}/access.log combined
  8. </VirtualHost>
  9.  
  10. test.conf
  11.  
  12. NameVirtualHost external_ip
  13. <VirtualHost external_ip>
  14. UseCanonicalName off
  15. ServerName test.ca
  16. ServerAlias test.ca
  17. DocumentRoot /var/www/test
  18. ErrorLog ${APACHE_LOG_DIR}/error.log
  19. CustomLog ${APACHE_LOG_DIR}/access.log combined
  20. </VirtualHost>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement