Advertisement
Guest User

Untitled

a guest
Apr 13th, 2017
573
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.10 KB | None | 0 0
  1. # Virtual Hosts
  2. #
  3. # Required modules: mod_log_config
  4.  
  5. # If you want to maintain multiple domains/hostnames on your
  6. # machine you can setup VirtualHost containers for them. Most configurations
  7. # use only name-based virtual hosts so the server doesn't need to worry about
  8. # IP addresses. This is indicated by the asterisks in the directives below.
  9. #
  10. # Please see the documentation at
  11. # <URL:http://httpd.apache.org/docs/2.4/vhosts/>
  12. # for further details before you try to setup virtual hosts.
  13. #
  14. # You may use the command line option '-S' to verify your virtual host
  15. # configuration.
  16.  
  17. #
  18. # VirtualHost example:
  19. # Almost any Apache directive may go into a VirtualHost container.
  20. # The first VirtualHost section is used for all requests that do not
  21. # match a ServerName or ServerAlias in any <VirtualHost> block.
  22. #
  23.  
  24. <VirtualHost *:80>
  25. ServerAdmin webmaster@localhost
  26. DocumentRoot "c:/wamp/www"
  27. ServerName localhost
  28. ServerAlias localhost
  29. ErrorLog "logs/localhost-error.log"
  30. CustomLog "logs/localhost-access.log" common
  31. </VirtualHost>
  32.  
  33. <VirtualHost *:80>
  34. ServerAdmin webmaster@projeto1.pc
  35. DocumentRoot "c:/wamp/www/saas"
  36. ServerName projeto1.pc
  37. ServerAlias projeto1.pc
  38. ErrorLog "logs/projeto1.pc-error.log"
  39. CustomLog "logs/projeto1.pc-access.log" common
  40. </VirtualHost>
  41.  
  42. <VirtualHost *:80>
  43. ServerAdmin webmaster@projeto2.pc
  44. DocumentRoot "c:/wamp/www/saas"
  45. ServerName projeto2.pc
  46. ServerAlias projeto2.pc
  47. ErrorLog "logs/projeto2.pc-error.log"
  48. CustomLog "logs/projeto2.pc-access.log" common
  49. </VirtualHost>
  50.  
  51. <VirtualHost *:80>
  52. ServerAdmin webmaster@projetox.pc
  53. DocumentRoot "c:/wamp/www/projetox"
  54. ServerName projetox.pc
  55. ServerAlias projetox.pc
  56. ErrorLog "logs/projetox.pc-error.log"
  57. CustomLog "log/projetox.pc-access.log" common
  58. </VirtualHost>
  59.  
  60. <VirtualHost *:80>
  61. ServerAdmin webmaster@projetoy.pc
  62. DocumentRoot "c:/wamp/www/projetoy"
  63. ServerName projetoy.pc
  64. ServerAlias projetoy.pc
  65. ErrorLog "logs/projetoy.pc-error.log"
  66. CustomLog "projetoy.pc-access.log" common
  67. </VirtualHost>
  68.  
  69. <VirtualHost *:80>
  70. ServerAdmin webmaster@cursoboni.pc
  71. DocumentRoot "c:/wamp/www/cursoboni"
  72. ServerName cursoboni.pc
  73. ServerAlias cursoboni.pc
  74. ErrorLog "logs/cursoboni.pc-error.log"
  75. CustomLog "logs/cursoboni.pc-access.log" common
  76. </VirtualHost>
  77.  
  78. <VirtualHost *:80>
  79. ServerAdmin webmaster@cursoboni.pc
  80. DocumentRoot "c:/wamp/www/mvc"
  81. ServerName mvc.pc
  82. ServerAlias mvc.pc
  83. ErrorLog "logs/mvc.pc-error.log"
  84. CustomLog "logs/mvc.pc-access.log" common
  85. </VirtualHost>
  86.  
  87. <VirtualHost *:80>
  88. ServerAdmin webmaster@cursoboni.pc
  89. DocumentRoot "c:/wamp/www/mvc1"
  90. ServerName mvc1.pc
  91. ServerAlias mvc1.pc
  92. ErrorLog "logs/mvc1.pc-error.log"
  93. CustomLog "logs/mvc1.pc-access.log" common
  94. </VirtualHost>
  95.  
  96. <VirtualHost *:80>
  97. ServerAdmin webmaster@cursoboni.pc
  98. DocumentRoot "c:/wamp/www/mvc2"
  99. ServerName mvc2.pc
  100. ServerAlias mvc2.pc
  101. ErrorLog "logs/mvc2.pc-error.log"
  102. CustomLog "logs/mvc2.pc-access.log" common
  103. </VirtualHost>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement