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

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

Further modifications to wsgi discovery and browse. Discovery now links
to the Dublin Core discovery elements, and some browse functions are
beginning to emerge, but it's still rather broken (and insecure).

  • 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/retrieve=ndgWrapRetrieve
22
23[app:layout]
24use=egg:Paste#static
25document_root=%(configDir)s/layout/
26
27[filter-app:ndgWrapDiscovery]
28use = DiscoveryFrame
29next = ndgDiscovery
30
31[filter-app:ndgWrapRetrieve]
32use = DiscoveryFrame
33next = retrieve
34
35[filter:DiscoveryFrame]
36paste.filter_factory = ndgPageLayout:DiscoveryFrameFactory
37
38[app:ndgDiscovery]
39paste.app_factory = ndgDiscovery:discoveryFactory
40
41[app:ndgBrowse]
42paste.app_factory = ndgBrowse:browseFactory
43
44[app:cookieEG]
45paste.app_factory = cookieEG:cookieFactory
46
47[app:retrieve]
48paste.app_factory = ndgRetrieve:retrieveFactory
Note: See TracBrowser for help on using the repository browser.