rendered paste body 1.
servera:/home/user1# cat /etc/apache2/sites-enabled/000-default
2.
NameVirtualHost *
3.
<VirtualHost *>
4.
ServerAdmin webmaster@localhost
5.
6.
DirectoryIndex index.html index.php
7.
# <Directory /usr/share/ampache/>
8.
# Options Indexes FollowSymLinks
9.
# </Directory>
10.
11.
DocumentRoot /var/www/
12.
<Directory />
13.
Options FollowSymLinks
14.
AllowOverride None
15.
</Directory>
16.
<Directory /var/www/>
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.
</Directory>
25.
26.
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
27.
<Directory "/usr/lib/cgi-bin">
28.
AllowOverride None
29.
Options ExecCGI -MultiViews +SymLinksIfOwnerMatch
30.
Order allow,deny
31.
Allow from all
32.
</Directory>
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.
<Directory "/usr/share/doc/">
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.
</Directory>
51.
52.
</VirtualHost>