apache.vhost 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. ##
  2. ## apache.vhost -- Apache Virtual Host Configuration Template
  3. ## ______________________________________________________
  4. ##
  5. ## PLEASE DO NOT EDIT THIS TEMPLATE!! COPY IT TO "apache.vhost-xxx",
  6. ## REMOVE THIS COMMENT AND EDIT THAT FILE INSTEAD, PLEASE!
  7. ## ______________________________________________________
  8. ##
  9. <VirtualHost www.foo.com:80>
  10. # server information
  11. ServerName www.foo.com
  12. ServerAlias www.foo.net www.foo.org
  13. ServerAdmin webmaster@foo.com
  14. ServerSignature on
  15. # document area
  16. DocumentRoot /home/foo/htdocs/
  17. <Directory "/home/foo/htdocs/">
  18. Options Indexes FollowSymLinks MultiViews
  19. AllowOverride None
  20. Order allow,deny
  21. Allow from all
  22. </Directory>
  23. # executable area
  24. ScriptAlias /cgi-bin/ /home/foo/cgi-bin/
  25. <Directory "/home/foo/cgi-bin">
  26. Options Indexes FollowSymLinks MultiViews ExecCGI
  27. AllowOverride None
  28. Order allow,deny
  29. Allow from all
  30. </Directory>
  31. # logging
  32. CustomLog /home/foo/logs/access.log common
  33. ErrorLog /home/foo/logs/error.log
  34. LogLevel warn
  35. </VirtualHost>