equal
deleted
inserted
replaced
|
1 # Apache won't be able to resolve its own hostname, so we sneak this |
|
2 # into the global context to silence a confusing-to-user warning on |
|
3 # server start. |
|
4 ServerName hg |
|
5 |
|
6 <VirtualHost *:80> |
|
7 DocumentRoot /var/hg/htdocs |
|
8 <Directory /> |
|
9 Options FollowSymLinks |
|
10 AllowOverride None |
|
11 </Directory> |
|
12 |
|
13 SetEnv HGENCODING UTF-8 |
|
14 SetEnv LC_TYPE UTF-8 |
|
15 |
|
16 WSGIDaemonProcess hg processes=${WSGI_PROCESSES} threads=${WSGI_THREADS} maximum-requests=${WSGI_MAX_REQUESTS} user=www-data group=www-data display-name=hg-wsgi |
|
17 WSGIProcessGroup hg |
|
18 |
|
19 WSGIScriptAliasMatch ^(.*) /var/hg/htdocs/hgweb.wsgi$1 |
|
20 |
|
21 ErrorLog ${APACHE_LOG_DIR}/error.log |
|
22 LogLevel warn |
|
23 CustomLog ${APACHE_LOG_DIR}/access.log combined |
|
24 </VirtualHost> |