Fix ServerAdmin and ServerAlias
[sysconfig/apache2.git] / sites-available / default
1 <VirtualHost *:80>
2         ServerAdmin webmaster@dehnerts.com
3         ServerName olinda.mit.edu
4         ServerAlias svn.dehnerts.com svn.dehnert.arctic.org www.dehnerts.com www.dehnert.arctic.org
5
6         DocumentRoot /var/www
7         <Directory />
8                 Options FollowSymLinks
9                 AllowOverride None
10         </Directory>
11         <Directory /var/www/>
12                 Options Indexes FollowSymLinks MultiViews
13                 AllowOverride None
14                 Order allow,deny
15                 allow from all
16         </Directory>
17
18         ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
19         <Directory "/usr/lib/cgi-bin">
20                 AllowOverride None
21                 Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
22                 Order allow,deny
23                 Allow from all
24         </Directory>
25
26         ErrorLog /var/log/apache2/error.log
27
28         # Possible values include: debug, info, notice, warn, error, crit,
29         # alert, emerg.
30         LogLevel warn
31
32         CustomLog /var/log/apache2/access.log combined
33
34     Alias /doc/ "/usr/share/doc/"
35     <Directory "/usr/share/doc/">
36         Options Indexes MultiViews FollowSymLinks
37         AllowOverride None
38         Order deny,allow
39         Deny from all
40         Allow from 127.0.0.0/255.0.0.0 ::1/128
41     </Directory>
42
43 </VirtualHost>