blob: 419b0a86a190097e773bb8bb41bc9febd3db7c44 (
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
|
# sample apache(2) configuration for patch-tracking system
#
# In this example, the site is served directly from a dedicated virtualhost
#
# static content, such as images, css, etc
#Alias /static /home/seanius/patch-tracker/static
# all other requests go through a central handler
#WSGIScriptAlias / /home/seanius/patch-tracker/pagehandler.py
#<Location />
# WSGIProcessGroup patch-tracker
#</Location>
#
# In this example, the site is served relatively from the location
# /patch-tracking.debian.net on the default virtualhost/server
#
# static content, such as images, css, etc
Alias /patch-tracking.debian.net/static /home/seanius/patch-tracker/static
# all other requests go through a central handler
WSGIScriptAlias /patch-tracking.debian.net /home/seanius/patch-tracker/pagehandler.py
<Location /patch-tracking.debian.net>
WSGIProcessGroup patch-tracker
</Location>
# and finally: an optional (highly recommend) config to run as a dedicated user
WSGIDaemonProcess patch-tracker user=patch-tracker group=patch-tracker processes=2 threads=10 maximum-requests=1000 umask=0022 display-name=patch-tracker
|