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