I'd recommend that you use just one script for handling requests,
which then instantiates the appropriate handler. Then you could just
put /.* at the bottom after the static file handlers and direct it to
your main script. Assuming you are using WSGI handlers, it'd be easy
to just use pretty much the same regular expressions to send the
requests to the relevant handlers. It might even make fetching
arguments simpler. A regular expression of '/manager/profile/(.+)'
could be used, then the handler would get whatever's in the (.+) as
its first argument. But I digress.
The handlers look fine to me, and they are in the right order (since
handlers take priority top-to-bottom.)
Here's how I do favicons (you can of course change gif to png if
that's the format you're using for the icon):
- url: /favicon\.ico
mime_type: image/gif
static_files: misc/favicon.gif
upload: misc/favicon\.gif
Regards,
Andreas