开发者

403 error in Google App Engine with staticdir

For some reason I can't get static_dir to work. In my app.ymal I have:

-   url: /ui
    static_dir: ui

-   url: /dump
    static_dir: dump

Loading static files from /ui works (i.e /ui/images/logo.png). But when I try to access something from /du开发者_JAVA技巧mo I just get:

INFO     2009-11-12 14:03:55,497 dev_appserver.py:3034] "GET /dump/kaxas.zip HTTP/1.1" 403 -

If I change the name of the zip-file to something else it returns a 404 error. So in someway it finds the file.

On the server the files have the same owner and group, and the same rights (chmod 755).

I'm running dev_appserver on a linux server.

Any ideas?

..fredrik


HTTP 403 code is usually returned by GAE for quota problems, read http://code.google.com/appengine/docs/quotas.html

I think your zip file is more than 1 MB, and I have read it doesn't allow such big zip files. Try with a smaller file to make sure dump is working, I think it will work.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜