Advertisement
Guest User

AR Virtual Hosts

a guest
Sep 17th, 2013
122
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.93 KB | None | 0 0
  1. #
  2. # Use name-based virtual hosting.
  3. #
  4. NameVirtualHost *:80
  5. #
  6. # NOTE: NameVirtualHost cannot be used without a port specifier
  7. # (e.g. :80) if mod_ssl is being used, due to the nature of the
  8. # SSL protocol.
  9. #
  10.  
  11. #
  12. # VirtualHost example:
  13. # Almost any Apache directive may go into a VirtualHost container.
  14. # The first VirtualHost section is used for requests without a known
  15. # server name.
  16. #
  17. <VirtualHost *:80>
  18. ServerAdmin [email protected]
  19. DocumentRoot /var/www/andyrench.com/public_html
  20. ServerName andyrench.com
  21. ErrorLog /var/www/andyrench.com/error.log
  22. CustomLog /var/www/andyrench.com/requests.log common
  23. </VirtualHost>
  24. <VirtualHost *:80>
  25. ServerAdmin [email protected]
  26. DocumentRoot /var/www/believedbehavior.com/public_html
  27. ServerName believedbehavior.com
  28. ErrorLog /var/www/believedbehavior.com/error.log
  29. CustomLog /var/www/believedbehavior.com/requests.log common
  30. </VirtualHost>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement