Skip to content
This repository has been archived by the owner on May 7, 2020. It is now read-only.


Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Using dep-checker with apache/mod_wsgi
7/23/2010 Stew Benedict <>

Instead of the built in django server, you can use apache and mod_wsgi fairly easily.

1) Put the dep-checker tree under DocumentRoot (or anywhere accessible to apache, in the 
   example we use /var/www/html)

2) Edit and add the working directory to project_root_paths:

    project_root_paths = [ ".", "..", "/var/www/html/dep-checker" ]

3) Edit http.conf or possibly a seperate conf for mod_wsgi (/etc/httpd/modules.d/B23_mod_wsgi.conf
   on this system):

    WSGIScriptAlias / /var/www/html/dep-checker/compliance/apache/django.wsgi

   The above line is required. The referenced file is provided by dep-checker. There are 2
   sys.path.append entries you may need to modify for your setup.

   Some older versions of mod_wsgi will not work for applications using stdout (which dep-checker
   does to communicate with the task-manager). If your version has this issue, you will want to
   add the following directive:

    WSGIRestrictStdout Off

   If you find performance to be slow, you may want to run wsgi in daemon mode:

    WSGIDaemonProcess threads=25

   More info on mod_wsgi configuration can be found here:

4) The sqlite database compliance/compliance must be writable by the user account running apache
   (apache on this system). The compliance directory must also be writable by this user for both
   database journal and the task.log file used by the task manager.

Documentation for setting up django with mod_wsgi mentions serving the static media files by 
apache or another server, although in my experiments things seemed to work leaving things as they
are currently setup.


A dependency checker tool from The Linux Foundation






No releases published


No packages published