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

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

Moving the layout directory into the wsgi stack

  • Property svn:executable set to *
Line 
1
2# This is the (proto) paster-deploy configuration file for the NDG discovery and browse software
3# BNL December 2006
4
5[server:main]
6use = egg:PasteScript#wsgiutils
7host = localhost.localdomain
8port = 8001
9#use = egg:PasteScript#flup_fcgi_thread
10#socket = /tmp/ndg_fastcgi.soc
11
12
13[DEFAULT]
14configDir = ./
15
16[composite:main]
17use=egg:paste#urlmap
18/discovery=ndgWrapDiscovery
19/browse=ndgWrapGateBrowse
20/cookie=cookieEG
21/layout=layout
22/retrieve=ndgWrapRetrieve
23
24#[filter-app:exception]
25#use=egg:paste#evalexception
26#next=ndgWrapGateBrowse
27
28[app:layout]
29use=egg:Paste#static
30document_root=%(here)s/layout/
31
32[filter-app:ndgWrapDiscovery]
33use = DiscoveryFrame
34next = ndgDiscovery
35
36[filter-app:ndgWrapRetrieve]
37use = DiscoveryFrame
38next = retrieve
39
40[filter-app:ndgWrapGateBrowse]
41use=DiscoveryFrame
42next=GateKeeper
43
44[filter-app:GateKeeper]
45use=ndgGateKeeper
46next=retrieve
47
48[filter:ndgGateKeeper]
49paste.filter_factory = ndgGateKeeper:keeperFactory
50
51[filter:DiscoveryFrame]
52paste.filter_factory = ndgPageLayout:DiscoveryFrameFactory
53
54[app:ndgDiscovery]
55paste.app_factory = ndgDiscovery:discoveryFactory
56
57[app:cookieEG]
58paste.app_factory = cookieEG:cookieFactory
59
60[app:retrieve]
61paste.app_factory = ndgRetrieve:retrieveFactory
Note: See TracBrowser for help on using the repository browser.