source: TI12-security/trunk/NDGSecurity/python/ndg_security_test/ndg/security/test/unit/sslclientauthnmiddleware/ndgsecurity.wsgi @ 7077

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/TI12-security/trunk/NDGSecurity/python/ndg_security_test/ndg/security/test/unit/sslclientauthnmiddleware/ndgsecurity.wsgi@7077
Revision 7077, 1.2 KB checked in by pjkersha, 9 years ago (diff)
  • Property svn:keywords set to Id
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 DataGrid Project
31"""
32__author__ = "P J Kershaw"
33__date__ = "11/12/08"
34__copyright__ = "(C) 2009 STFC & NERC"
35__license__ = "BSD - see LICENSE file in top-level directory"
36__contact__ = "Philip.Kershaw@stfc.ac.uk"
37__revision__ = "$Id$"
38import logging
39log = logging.getLogger(__name__)
40
41import ndg.security.server.wsgi.apploader
42from ndg.security.server.wsgi.apploader import AppLoaderMiddleware
43
44application = AppLoaderMiddleware(configFilePath='/var/www/wsgi/ndg-security.ini')
Note: See TracBrowser for help on using the repository browser.