-
Notifications
You must be signed in to change notification settings - Fork 3
/
apache-vhost.conf
44 lines (29 loc) · 1.08 KB
/
apache-vhost.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
# vim: ft=apache
<VirtualHost *:80>
ServerAdmin webmaster@localhost
ServerName localhost
DocumentRoot /var/www
# Path to wlister::handler
PythonPostReadRequestHandler /media/sf_mod_python_waf/wlister/wlister.py::handler
# prefix that is to be prepended to log lines
PythonOption wlister.log_prefix [wlister]
# wlister configuration file
PythonOption wlister.conf /media/sf_mod_python_waf/conf/rules.conf
# default action taken if no rule is able to
# whitelist/blacklist the request
# can be: block, pass, log (log is not blocking)
PythonOption wlister.default_action block
# max size read (bytes) when dealing with request body
# based on Content-length header
PythonOption wlister.max_post_read 65536
#PythonAutoReload On
PythonDebug On
# Proxy everything to the webserver
ProxyRequests Off
ProxyPass / http://localhost:5000/
ErrorLog ${APACHE_LOG_DIR}/error.log
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel debug
CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>