Advertisement
Guest User

Untitled

a guest
Apr 23rd, 2013
275
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 1.36 KB | None | 0 0
  1. NameVirtualHost *:80
  2.  
  3. <VirtualHost __default__:80>
  4.     ServerAdmin info@localhost
  5.     ServerName localhost
  6.     DocumentRoot C:/www/localhost
  7.     <Directory C:/www/localhost>
  8.         Options FollowSymLinks
  9.         AllowOverride None
  10.         Order allow,deny
  11.         Allow from all
  12.     </Directory>
  13.     ErrorLog logs/localhost_error.log
  14.     LogLevel warn
  15.  
  16.     CustomLog C:/apache22/logs/localhostaccess.log combined
  17. </VirtualHost>
  18.  
  19. <VirtualHost *:80>
  20.     ServerAdmin [email protected]
  21.     ServerName firstdomain.com
  22.     ServerAlias www.firstdomain.com
  23.     DocumentRoot C:/www/firstdomain
  24.     <Directory C:/www/firstdomain>
  25.         Options FollowSymLinks
  26.         AllowOverride None
  27.         Order allow,deny
  28.         Allow from all
  29.     </Directory>
  30.     ErrorLog logs/firstdomain_error.log
  31.     LogLevel warn
  32.  
  33.     CustomLog C:/apache22/logs/firstdomain_access.log combined
  34. </VirtualHost>
  35.  
  36. <VirtualHost *:80>
  37.     ServerAdmin [email protected]
  38.     ServerName seconddomain.com
  39.     ServerAlias www.seconddomain.com
  40.     DocumentRoot C:/www/seconddomain
  41.     <Directory C:/www/seconddomain>
  42.         Options FollowSymLinks
  43.         AllowOverride None
  44.         Order allow,deny
  45.         Allow from all
  46.     </Directory>
  47.     ErrorLog logs/seconddomain_error.log
  48.     LogLevel warn
  49.  
  50.     CustomLog C:/apache22/logs/seconddomain_access.log combined
  51. </VirtualHost>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement