source: TI07-MOLES/trunk/PythonCode/wsgi/ndg.ini @ 1905

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/TI07-MOLES/trunk/PythonCode/wsgi/ndg.ini@1905
Revision 1905, 792 bytes checked in by lawrence, 15 years ago (diff)

Working discovery within paste-deploy context ...

  • Property svn:executable set to *
Line 
1#!/usr/bin/env paster
2#
3# This is the (proto) paster-deploy configuration file for the NDG discovery and browse software
4# BNL December 2006
5#
6
7[server:main]
8use = egg:PasteScript#wsgiutils
9host = localhost.localdomain
10port = 8001
11
12[DEFAULT]
13configDir = ./
14
15[composite:main]
16use=egg:paste#urlmap
17/discovery=ndgWrapDiscovery
18/browse=ndgBrowse
19/cookie=cookieEG
20/layout=layout
21
22[app:layout]
23use=egg:Paste#static
24document_root=%(configDir)s/layout/
25
26[filter-app:ndgWrapDiscovery]
27use = DiscoveryFrame
28next = ndgDiscovery
29
30[filter:DiscoveryFrame]
31paste.filter_factory = ndgPageLayout:DiscoveryFrameFactory
32
33[app:ndgDiscovery]
34paste.app_factory = ndgDiscovery:discoveryFactory
35
36[app:ndgBrowse]
37paste.app_factory = ndgBrowse:browseFactory
38
39[app:cookieEG]
40paste.app_factory = cookieEG:cookieFactory
Note: See TracBrowser for help on using the repository browser.