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

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

First changes (in standard wsgi branch) for supporting shopping cart
functionality etc.

  • 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
8port = 8001
9#use = egg:PasteScript#flup_fcgi_thread
10#socket = /tmp/ndg_fastcgi.soc
11
12
13[DEFAULT]
14configDir = ./
15#following are directives for logging:
16logFile= 'ndgWSGI.log'
17
18[filter-app:main]
19use=egg:Paste#lint
20next=log
21
22[filter-app:log]
23use = ndgLog
24next = realMain
25
26[composite:realMain]
27use=egg:paste#urlmap
28/discovery=ndgWrapDiscovery
29/browse=ndgWrapGateBrowse
30/cookie=cookieEG
31/layout=layout
32/retrieve=ndgWrapRetrieve
33/login=ndgLogin
34/logout=ndgLogout
35
36#[filter-app:exception]
37#use=egg:paste#evalexception
38#next=ndgWrapGateBrowse
39
40[app:layout]
41use=egg:Paste#static
42document_root=%(here)s/layout/
43
44[filter-app:ndgWrapDiscovery]
45use = DiscoveryFrame
46next = ndgDiscovery
47
48[filter-app:ndgWrapRetrieve]
49use = DiscoveryFrame
50next = retrieve
51
52[filter-app:ndgWrapGateBrowse]
53use=DiscoveryFrame
54next=Browse
55
56[filter-app:Browse]
57use=Browse
58next=ndgGateKeeper
59
60[filter-app:ndgGateKeeper]
61use=ndgGateKeeper
62next=retrieve
63
64[filter:ndgLog]
65paste.filter_factory = ndgLog:logFactory
66
67[filter:ndgGateKeeper]
68paste.filter_factory = ndgGateKeeper:keeperFactory
69
70[filter:DiscoveryFrame]
71paste.filter_factory = ndgPageLayout:DiscoveryFrameFactory
72
73[filter:Browse]
74paste.filter_factory=ndgBrowse:browseFactory
75
76[app:ndgDiscovery]
77paste.app_factory = ndgDiscovery:discoveryFactory
78
79[app:cookieEG]
80paste.app_factory = cookieEG:cookieFactory
81
82[app:retrieve]
83paste.app_factory = ndgRetrieve:retrieveFactory
84
85[app:ndgLogin]
86paste.app_factory = ndgLogin:loginFactory
87
88[app:ndgLogout]
89paste.app_factory = ndgLogout:logoutFactory
Note: See TracBrowser for help on using the repository browser.