HI,

I'm having trouble exposing a file in the following way:

https://example.com/./well-known/file.json

I configured my routes.py like this:

routers = dict (

     # base router
     BASE = dict (
         default_application = 'connect',
         root_static = ['favicon.ico', 'sw.js', 'well-known / file.json'],
     ),
)
routes_in = (
         ('well-known / file.json', '/app/static/file.json'),
     )
routes_out = ('/app/static/file.json','well-known/file.json')

*Note:*

*The file are in static folder, I don't created 'well-known' folder.*

But web2py crashes ...

Any suggestions on how I can resolve this issue?

Thanks in advance and best regards!

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/web2py/053a9392-83b2-4c66-959c-584b8a143e38%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to