-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapache2.conf
46 lines (37 loc) · 1.07 KB
/
apache2.conf
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
Mutex file:/var/lock/apache2 default
PidFile ${APACHE_RUN_DIR}/apache2.pid
Timeout 300
KeepAlive On
MaxKeepAliveRequests 100
KeepAliveTimeout 5
User ${APACHE_USER}
Group ${APACHE_GROUP}
HostnameLookups Off
AccessFileName .htaccess
LogFormat "%v:%p %h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\"" vhost_combined
LogFormat "%h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\"" combined
LogFormat "%h %l %u %t \"%r\" %>s %O" common
LogFormat "%{Referer}i -> %U" referer
LogFormat "%{User-agent}i" agent
ErrorLog "/proc/self/fd/2"
CustomLog /proc/self/fd/1 combined
LogLevel warn
IncludeOptional mods-enabled/*.load
IncludeOptional mods-enabled/*.conf
Listen 80
<Directory />
Options FollowSymLinks
AllowOverride None
Require all denied
</Directory>
<FilesMatch "^\.ht">
Require all denied
</FilesMatch>
ServerName localhost
DocumentRoot ${DOCUMENT_ROOT}
<Directory ${DOCUMENT_ROOT}>
Options FollowSymLinks
AllowOverride All
Require all granted
</Directory>
IncludeOptional /mnt/conf/apache/*.conf