Hello to all,

When I set the src of my static image with the helper {{=URL('static', 
'img/logo.png', scheme=True, host=True)}} I get this path in my view:

http://192.168.1.12:8080/corporate/en/static/img/logo.png

The language "en" is not routed like it should (and said in the manual) to

http://192.168.1.12:8080/corporate/static/en/img/logo.png, or even better
http://192.168.1.12:8080/corporate/static/img/logo.png

as there isn't a "en" folder in my static

It seems to be a GAE specific problem as mentioned in this thread (
https://groups.google.com/forum/#!searchin/web2py/gae$20router$20language$20static/web2py/BegoBS85Itg/Mv1YQDWZak4J)
 
but I can't get the new regex (from David Sorrentino) to work in my 
app.yaml 

I added (without succes) this rule into it:

- url: /(?P<a>.+?)/.{2}/static/(?P<b>.+) static_files: 
applications/\1/static/\2 upload: applications/(.+?)/static/(.+) secure: 
optional expiration: "365d"


Any help on this will be greatly appreciated
Thanks!

PS: This is happening locally in the GAE sdk

-- 
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to