Ignore:
Timestamp:
21/06/07 09:51:16 (13 years ago)
Author:
spascoe
Message:

Added more logging. Requests are now logged and OWSExceptions are
logged as well as triggering an XML response. Requests to WMS/GetMap don't
trigger the debugger because it screws up openlayers.

Some changes to routes to make csml_api work again. No doubt this will change
when we have Exist plumbed in.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI05-delivery/ows_framework/trunk/ows_server/ows_server/config/routing.py

    r2626 r2629  
    3939    map.connect('view/:uri', controller = 'retrieve', action='view') 
    4040    map.connect('retrieve/:uri', controller = 'retrieve') 
    41     map.connect('csml/:uri', controller='csml_api') 
     41 
     42    # This route doesn't match the controller's parameters. 
     43    #map.connect('csml/:uri', controller='csml_api') 
     44    # Below is the way it worked before with added 
     45    # "csml" path component 
     46    map.connect('csml/:file.:format', controller='csml_api', action='index', 
     47                format='html') 
     48    map.connect('csml/:file/:(feature).:format', action='getFeature', 
     49                controller='csml_api', format='html') 
     50    map.connect('csml/:file/:feature/:action', controller='csml_api') 
     51 
    4252    map.connect('trackback/:uri', controller='trackback') 
    4353    map.connect('discovery',controller='discovery') 
Note: See TracChangeset for help on using the changeset viewer.