Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Virtual Hosts
- #
- # Required modules: mod_log_config
- # If you want to maintain multiple domains/hostnames on your
- # machine you can setup VirtualHost containers for them. Most configurations
- # use only name-based virtual hosts so the server doesn't need to worry about
- # IP addresses. This is indicated by the asterisks in the directives below.
- #
- # Please see the documentation at
- # <URL:http://httpd.apache.org/docs/2.4/vhosts/>
- # for further details before you try to setup virtual hosts.
- #
- # You may use the command line option '-S' to verify your virtual host
- # configuration.
- #
- # VirtualHost example:
- # Almost any Apache directive may go into a VirtualHost container.
- # The first VirtualHost section is used for all requests that do not
- # match a ServerName or ServerAlias in any <VirtualHost> block.
- #
- <VirtualHost *:80>
- ServerAdmin webmaster@localhost
- DocumentRoot "c:/wamp/www"
- ServerName localhost
- ServerAlias localhost
- ErrorLog "logs/localhost-error.log"
- CustomLog "logs/localhost-access.log" common
- </VirtualHost>
- <VirtualHost *:80>
- ServerAdmin webmaster@projeto1.pc
- DocumentRoot "c:/wamp/www/saas"
- ServerName projeto1.pc
- ServerAlias projeto1.pc
- ErrorLog "logs/projeto1.pc-error.log"
- CustomLog "logs/projeto1.pc-access.log" common
- </VirtualHost>
- <VirtualHost *:80>
- ServerAdmin webmaster@projeto2.pc
- DocumentRoot "c:/wamp/www/saas"
- ServerName projeto2.pc
- ServerAlias projeto2.pc
- ErrorLog "logs/projeto2.pc-error.log"
- CustomLog "logs/projeto2.pc-access.log" common
- </VirtualHost>
- <VirtualHost *:80>
- ServerAdmin webmaster@projetox.pc
- DocumentRoot "c:/wamp/www/projetox"
- ServerName projetox.pc
- ServerAlias projetox.pc
- ErrorLog "logs/projetox.pc-error.log"
- CustomLog "log/projetox.pc-access.log" common
- </VirtualHost>
- <VirtualHost *:80>
- ServerAdmin webmaster@projetoy.pc
- DocumentRoot "c:/wamp/www/projetoy"
- ServerName projetoy.pc
- ServerAlias projetoy.pc
- ErrorLog "logs/projetoy.pc-error.log"
- CustomLog "projetoy.pc-access.log" common
- </VirtualHost>
- <VirtualHost *:80>
- ServerAdmin webmaster@cursoboni.pc
- DocumentRoot "c:/wamp/www/cursoboni"
- ServerName cursoboni.pc
- ServerAlias cursoboni.pc
- ErrorLog "logs/cursoboni.pc-error.log"
- CustomLog "logs/cursoboni.pc-access.log" common
- </VirtualHost>
- <VirtualHost *:80>
- ServerAdmin webmaster@cursoboni.pc
- DocumentRoot "c:/wamp/www/mvc"
- ServerName mvc.pc
- ServerAlias mvc.pc
- ErrorLog "logs/mvc.pc-error.log"
- CustomLog "logs/mvc.pc-access.log" common
- </VirtualHost>
- <VirtualHost *:80>
- ServerAdmin webmaster@cursoboni.pc
- DocumentRoot "c:/wamp/www/mvc1"
- ServerName mvc1.pc
- ServerAlias mvc1.pc
- ErrorLog "logs/mvc1.pc-error.log"
- CustomLog "logs/mvc1.pc-access.log" common
- </VirtualHost>
- <VirtualHost *:80>
- ServerAdmin webmaster@cursoboni.pc
- DocumentRoot "c:/wamp/www/mvc2"
- ServerName mvc2.pc
- ServerAlias mvc2.pc
- ErrorLog "logs/mvc2.pc-error.log"
- CustomLog "logs/mvc2.pc-access.log" common
- </VirtualHost>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement