Advertisement
Guest User

Untitled

a guest
Jul 22nd, 2014
168
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.27 KB | None | 0 0
  1. <VirtualHost *:80>
  2. ServerName test.local.area
  3. ServerAlias teste.local.area
  4. DocumentRoot /var/www/git_pro/test
  5. DirectoryIndex index.php index.phtlm index.html index.htm index.shtml
  6. </VirtualHost>
  7.  
  8. <VirtualHost *:80>
  9. ServerAdmin webmaster@localhost
  10. ServerName localhost
  11. DocumentRoot /var/www
  12. <Directory />
  13. Options FollowSymLinks
  14. AllowOverride all
  15. </Directory>
  16. <Directory /var/www/>
  17. Options Indexes FollowSymLinks MultiViews
  18. AllowOverride all
  19. Order allow,deny
  20. allow from all
  21. </Directory>
  22.  
  23. ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
  24. <Directory "/usr/lib/cgi-bin">
  25. AllowOverride all
  26. Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
  27. Order allow,deny
  28. Allow from all
  29. </Directory>
  30.  
  31. ErrorLog ${APACHE_LOG_DIR}/error.log
  32.  
  33. # Possible values include: debug, info, notice, warn, error, crit,
  34. # alert, emerg.
  35. LogLevel warn
  36.  
  37. CustomLog ${APACHE_LOG_DIR}/access.log combined
  38. </VirtualHost>
  39.  
  40. 127.0.0.1 localhost
  41. 127.0.1.1 Bruno-PC
  42. 127.0.1.2 test.local.area
  43.  
  44. # The following lines are desirable for IPv6 capable hosts
  45. ::1 ip6-localhost ip6-loopback
  46. fe00::0 ip6-localnet
  47. ff00::0 ip6-mcastprefix
  48. ff02::1 ip6-allnodes
  49. ff02::2 ip6-allrouters
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement