source: TI12-security/trunk/python/ndg.security.test/ndg/security/test/sslclientauthnmiddleware/ndgsecurity.wsgi @ 4611

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/TI12-security/trunk/python/ndg.security.test/ndg/security/test/sslclientauthnmiddleware/ndgsecurity.wsgi@4611
Revision 4611, 1.2 KB checked in by pjkersha, 11 years ago (diff)
  • Updates to egg dependencies - remove packages that are no longer needed
  • incremented to overall version 1.0.0 ready for new release.
Line 
1"""WSGI container for loading NDG Security applications
2
3For use with SSL Client Authentication Middleware unit tests.  Requires
4mod_wsgi to be installed and this file to be deployed so that it can be loaded
5e.g.
6<VirtualHost localhost:443 ...:443>
7.
8.
9.
10                SSLVerifyClient optional_no_ca
11                SSLVerifyDepth  10
12                SSLOptions +StdEnvVars +ExportCertData
13.
14.
15.
16        WSGIDaemonProcess localhost processes=2 threads=15 display-name=%{GROUP} python-path=...
17        WSGIProcessGroup localhost
18        WSGIScriptAlias /ndgsecurity /var/www/wsgi/ndgSecurity.wsgi
19       
20        <Directory /usr/local/www/wsgi>
21            Order allow,deny
22            Allow from all
23        </Directory>
24.
25.
26.
27</VirtualHost>
28
29
30NERC Data Grid Project
31
32This software may be distributed under the terms of the Q Public License,
33version 1.0 or later.
34"""
35__author__ = "P J Kershaw"
36__date__ = "11/12/08"
37__copyright__ = "(C) 2008 STFC & NERC"
38__contact__ = "Philip.Kershaw@stfc.ac.uk"
39__revision__ = "$Id$"
40import logging
41log = logging.getLogger(__name__)
42
43import ndg.security.server.wsgi.apploader
44from ndg.security.server.wsgi.apploader import AppLoaderMiddleware
45
46application = AppLoaderMiddleware(configFilePath='/var/www/wsgi/ndg-security.ini')
Note: See TracBrowser for help on using the repository browser.