into my web.py
python interface, I defined some URL :
urls = (
'/publication/(.*)', 'PublicationStats',
'/author/(.*)', 'AuthorStats',
'/department/(.*)', 'DepartmentStats',
)
My department names always contains slash :
SST/IMNC - department_name1
SSH/FLTR - department_name2
...
When I try to call department url, I thought that if I encode the slash (%2F
) all should works fine... but my URL seems decoded before URL management :(
If I use http://localhost/my_api/department/SST%2FIMNC%20-%20department_name1
. The server result is : 404-Not Found : The requested URL /api/stats/author/SST/IMNC was not found on this server.
Don't know how to solve my problem ? A special configuration into Apache ? into mod_wsgi, into my web.py application ?
Thnaks for your help.