summaryrefslogtreecommitdiff
path: root/etc/apache/apache.conf
blob: 531d110811b21d945ae3f69e895c48e312029945 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
ServerRoot /usr/lib/apache2
ServerName www.randomdan.homeip.net
ServerAdmin dan.goodliffe@randomdan.homeip.net
PidFile /var/run/apache2.pid
ErrorLog /var/log/apache2/error.log
LogFormat "%h %u %t %V \"%r\" %>s %b" common
CustomLog /var/log/apache2/access.log common
LogLevel warn
User apache
Group web
Listen 80
Timeout 300
KeepAlive On
MaxKeepAliveRequests 100
KeepAliveTimeout 15
ServerSignature On

LoadModule access_module		modules/mod_access.so
LoadModule mime_magic_module		modules/mod_mime_magic.so
LoadModule mime_module			modules/mod_mime.so
LoadModule autoindex_module		modules/mod_autoindex.so
LoadModule cgi_module			modules/mod_cgi.so
LoadModule cgid_module			modules/mod_cgid.so
LoadModule vhost_alias_module		modules/mod_vhost_alias.so
LoadModule dir_module			modules/mod_dir.so
LoadModule php4_module			modules/libphp4.so
LoadModule mod_xslt			modules/mod_xslt.so
LoadModule deflate_module		modules/mod_deflate.so
LoadModule ldap_module			modules/mod_ldap.so
LoadModule auth_ldap_module		modules/mod_auth_ldap.so
LoadModule log_config_module		modules/mod_log_config.so

<Directory />
        Options FollowSymLinks Indexes ExecCGI
        AllowOverride All
</Directory>

DirectoryIndex index.php index.html index.xml index.htm index.xphp index.cgi
VirtualDocumentRoot /var/www/vhosts/%0/
AccessFileName .htaccess
AddOutputFilterByType DEFLATE text/html text/plain text/xml
UseCanonicalName Off
DefaultType text/plain
HostnameLookups Off
AddHandler cgi-script .cgi
AddOutputFilterByType mod_xslt text/xml

ScriptLog /var/www/files/script.log
AddType application/x-httpd-php .php
AddType application/x-httpd-php .xphp
AddType text/xsl .xsl
AddType text/xml .xml