diff options
-rw-r--r-- | sample-apache2.conf | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/sample-apache2.conf b/sample-apache2.conf index cfcbd20..419b0a8 100644 --- a/sample-apache2.conf +++ b/sample-apache2.conf @@ -8,6 +8,9 @@ #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 @@ -18,3 +21,10 @@ 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 |