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

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

Changes to make cleaner logging in discovery/browse ..

  • 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#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
34#[filter-app:exception]
35#use=egg:paste#evalexception
36#next=ndgWrapGateBrowse
37
38[app:layout]
39use=egg:Paste#static
40document_root=%(here)s/layout/
41
42[filter-app:ndgWrapDiscovery]
43use = DiscoveryFrame
44next = ndgDiscovery
45
46[filter-app:ndgWrapRetrieve]
47use = DiscoveryFrame
48next = retrieve
49
50[filter-app:ndgWrapGateBrowse]
51use=DiscoveryFrame
52next=Browse
53
54[filter-app:Browse]
55use=Browse
56next=ndgGateKeeper
57
58[filter-app:ndgGateKeeper]
59use=ndgGateKeeper
60next=retrieve
61
62[filter:ndgLog]
63paste.filter_factory = ndgLog:logFactory
64
65[filter:ndgGateKeeper]
66paste.filter_factory = ndgGateKeeper:keeperFactory
67
68[filter:DiscoveryFrame]
69paste.filter_factory = ndgPageLayout:DiscoveryFrameFactory
70
71[filter:Browse]
72paste.filter_factory=ndgBrowse:browseFactory
73
74[app:ndgDiscovery]
75paste.app_factory = ndgDiscovery:discoveryFactory
76
77[app:cookieEG]
78paste.app_factory = cookieEG:cookieFactory
79
80[app:retrieve]
81paste.app_factory = ndgRetrieve:retrieveFactory
Note: See TracBrowser for help on using the repository browser.