Advertisement
Guest User

httpd-vhosts.conf

a guest
Jan 3rd, 2014
275
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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. #
  22. # VirtualHost example:
  23. # Almost any Apache directive may go into a VirtualHost container.
  24. # The first VirtualHost section is used for all requests that do not
  25. # match a ServerName or ServerAlias in any <VirtualHost> block.
  26. #
  27. #<VirtualHost *:80>
  28. #    ServerAdmin webmaster@dummy-host.localhost
  29. #    DocumentRoot "C:/Program Files/Apache Software Foundation/Apache2.2/docs/dummy-host.localhost"
  30. #    ServerName dummy-host.localhost
  31. #    ServerAlias www.dummy-host.localhost
  32. #    ErrorLog "logs/dummy-host.localhost-error.log"
  33. #    CustomLog "logs/dummy-host.localhost-access.log" common
  34. #</VirtualHost>
  35.  
  36. #<VirtualHost *:80>
  37. #    ServerAdmin webmaster@dummy-host2.localhost
  38. #    DocumentRoot "C:/Program Files/Apache Software Foundation/Apache2.2/docs/dummy-host2.localhost"
  39. #    ServerName dummy-host2.localhost
  40. #    ErrorLog "logs/dummy-host2.localhost-error.log"
  41. #    CustomLog "logs/dummy-host2.localhost-access.log" common
  42. #</VirtualHost>
  43.  
  44. <VirtualHost *:80>
  45.  
  46. ServerName hellokitty.zapto.org
  47. #ServerAlias hellokitty.zapto.org
  48. DocumentRoot "C:/C/My Programs/VertrigoServ/www/www/"
  49.  
  50. </VirtualHost>
  51.  
  52. <VirtualHost *:80>
  53.  
  54. ServerName hellocthulhu.zapto.org
  55. #ServerAlias hellocthulhu.zapto.org
  56. DocumentRoot "C:/C/My Programs/VertrigoServ/www/vvv/"
  57.  
  58. </VirtualHost>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement