1. servera:/home/user1# cat /etc/apache2/sites-enabled/000-default 2. NameVirtualHost * 3. 4. ServerAdmin webmaster@localhost 5. 6. DirectoryIndex index.html index.php 7. # 8. # Options Indexes FollowSymLinks 9. # 10. 11. DocumentRoot /var/www/ 12. 13. Options FollowSymLinks 14. AllowOverride None 15. 16. 17. Options Indexes FollowSymLinks MultiViews 18. AllowOverride None 19. Order allow,deny 20. allow from all 21. # This directive allows us to have apache2's default start page 22. # in /apache2-default/, but still have / go to the right place 23. # RedirectMatch ^/$ /apache2-default/ 24. 25. 26. ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/ 27. 28. AllowOverride None 29. Options ExecCGI -MultiViews +SymLinksIfOwnerMatch 30. Order allow,deny 31. Allow from all 32. 33. 34. ErrorLog /var/log/apache2/error.log 35. 36. # Possible values include: debug, info, notice, warn, error, crit, 37. # alert, emerg. 38. LogLevel warn 39. 40. CustomLog /var/log/apache2/access.log combined 41. ServerSignature On 42. 43. Alias /doc/ "/usr/share/doc/" 44. 45. Options Indexes MultiViews FollowSymLinks 46. AllowOverride None 47. Order deny,allow 48. Deny from all 49. Allow from 127.0.0.0/255.0.0.0 ::1/128 50. 51. 52.