Hi eveyone,

I'm sure it's gotta be something simple:

Relevant code snippets: in __init__() I have print >> sys.stderr, self._map 
as the last thing,
in wsgi_app() I have for key in sorted( request.environ.keys() ) : print >> 
sys.stderr, "%s : %s" % (key, repr( request.environ[key] )) before call to 
self.dispatch_request() 

Here's parts of apache/mod_wsgi log:

[Mon Aug 20 13:16:07 2012] [error] Map([<Rule '/table-editor/upload' -> 
upload>,
[Mon Aug 20 13:16:07 2012] [error]  <Rule '/table-editor/print' -> print>,
[Mon Aug 20 13:16:07 2012] [error]  <Rule '/table-editor/edit' -> edit>,
[Mon Aug 20 13:16:07 2012] [error]  <Rule '/table-editor/help' -> help>,
[Mon Aug 20 13:16:07 2012] [error]  <Rule '/table-editor/help/' -> help>,
[Mon Aug 20 13:16:07 2012] [error]  <Rule '/table-editor' -> new>,
[Mon Aug 20 13:16:07 2012] [error]  <Rule '/table-editor/' -> new>,
[Mon Aug 20 13:16:07 2012] [error]  <Rule '/table-editor/<func>' -> 
update>])
...
[Mon Aug 20 13:16:10 2012] [error] REQUEST_URI : '/table-editor/'
...
[Mon Aug 20 13:16:10 2012] [error] werkzeug.request : <Request 
'https://octopus.bmrb.wisc.edu/table-editor/' [GET]>
...
-- and the result is "404 not found"

Running the same thing w/ run_simple( '127.0.0.1', 5000, ... ) works fine.

I do have 2 more wsgi apps running just fine on that server: trac and my 
own code not using werkzeug. 

What am I missing?

TIA
Dima

-- 
You received this message because you are subscribed to the Google Groups 
"pocoo-libs" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/pocoo-libs/-/s41wlr_XizYJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/pocoo-libs?hl=en.

Reply via email to