-
Notifications
You must be signed in to change notification settings - Fork 20
/
vhost_apache.conf
32 lines (23 loc) · 695 Bytes
/
vhost_apache.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
ServerName VHOST_FQDN
<VirtualHost *:80>
ServerAdmin VHOST_EMAIL
ServerName VHOST_FQDN
ExtFilterDefine gzip mode=output cmd=/bin/gzip
DocumentRoot /www
ScriptAlias /api/ /Overpass-API/src/cgi-bin/
<Directory "/www">
AllowOverride None
Require all granted
</Directory>
<Directory "/Overpass-API/src/cgi-bin">
AllowOverride None
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
Require all granted
#SetOutputFilter gzip
#Header set Content-Encoding gzip
</Directory>
ErrorLog /var/log/apache2/error.log
# Possible values include: debug, info, notice, warn, error, crit, alert, emerg
LogLevel warn
CustomLog /var/log/apache2/access.log combined
</VirtualHost>