Advertisement
Guest User

Untitled

a guest
May 9th, 2011
273
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.48 KB | None | 0 0
  1. #
  2. # Virtual Hosts
  3. #
  4. # If you want to maintain multiple domains/hostnames on your
  5. # machine you can setup VirtualHost containers for them. Most configurations
  6. # use only name-based virtual hosts so the server doesn't need to worry about
  7. # IP addresses. This is indicated by the asterisks in the directives below.
  8. #
  9. # Please see the documentation at
  10. # <URL:http://httpd.apache.org/docs/2.2/vhosts/>
  11. # for further details before you try to setup virtual hosts.
  12. #
  13. # You may use the command line option '-S' to verify your virtual host
  14. # configuration.
  15.  
  16. #
  17. # Use name-based virtual hosting.
  18. #
  19. NameVirtualHost *:80
  20.  
  21. <VirtualHost *:80>
  22. ServerAdmin [email protected]
  23. DocumentRoot "/usr/local/www/max-cook"
  24. ServerName www.max-cook.com
  25. # ServerAlias www.dummy-host.example.com
  26. ErrorLog "/var/log/max-cook.com-error_log"
  27. CustomLog "/var/log/max-cook.com-access_log" common
  28. <Directory "/usr/local/www/max-cook">
  29. Options Indexes FollowSymlinks MultiViews
  30. AllowOverride All
  31. Order allow,deny
  32. Allow from all
  33. </Directory>
  34. </VirtualHost>
  35.  
  36. <VirtualHost *:80>
  37. ServerAdmin [email protected]
  38. DocumentRoot "/usr/local/www/nixtalks"
  39. ServerName www.nixtalks.com
  40. ErrorLog "/var/log/nixtalks.com-error_log"
  41. CustomLog "/var/log/nixtalks.com-access_log" common
  42.  
  43. <Directory "/usr/local/www/nixtalks">
  44. Options Indexes FollowSymlinks MultiViews
  45. AllowOverride All
  46. Order allow,deny
  47. Allow from all
  48. </Directory>
  49.  
  50. </VirtualHost>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement