On Nov 28, 2010, at 11:08 AM, Emceha wrote:
> 
> I use routes.py that works just fine with web2py but it fails to work
> with GAE.
> 
> I'm getting Blocking access to static file errors in console and file
> is still accessible via the old path (but not new).
> 
> I've read whole thread about this problem but I haven't found any
> answer - except one hack that I didn't try.
> 
> My web2py is latest stable
> 
> Maybe there is a way to use googles webapp.RequestHandler to do the
> magic while we run on GAE?
> 
> Any ideas how can I overcome this issue?

Have you looked at the logger output? Since GAE apparently always logs at DEBUG 
level, you should see logs of all URL rewrites arising from your routes.py, as 
'web2py.rewrite' log entries. At the very least you should check to see that 
the rewritten paths match the full path with no rewriting.

(By "old" and "new" above, do you mean without and with rewriting, 
respectively?)

Reply via email to