# 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 # a custom error page #ErrorDocument 500 /static/500.html # all other requests go through a central handler #WSGIScriptAlias / /home/seanius/patch-tracker/pagehandler.py # # WSGIProcessGroup patch-tracker # # # 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 # a custom error page ErrorDocument 500 /patch-tracking.debian.net/static/500.html # all other requests go through a central handler WSGIScriptAlias /patch-tracking.debian.net /home/seanius/patch-tracker/pagehandler.py WSGIProcessGroup patch-tracker # 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