Google app engine 100 URLMap entries limitation

156 views
Skip to first unread message

tao hong

unread,
Jul 2, 2012, 3:11:42 PM7/2/12
to google-a...@googlegroups.com

I have been using google app engine to build my website, and met a problem about the maximum number of URLMap (I had 101 URLs, but the limit is 100). Here is the error message:

    Fatal error when loading application configuration:
    Invalid object:
    Found more than 100 URLMap entries in application configuration
      in "\AppPest\app.yaml", line 269, column 28

I tried to change the setting `MAX_URL_MAPS = 1000` in the file appinfo.py, but it did not work. Can anyone give me some suggestions? 

Another question is that some of my URLs are similar, like a_input.html, b_input.html, c_input.html. Is there a way to simplify it in order to reduce the number of URLs?
 

Kaan Soral

unread,
Jul 3, 2012, 6:03:09 AM7/3/12
to google-a...@googlegroups.com
You can do some of the mapping in java/python, for example you can just add 1 url map, * to main.py and do all of the mapping in main.py
Reply all
Reply to author
Forward
0 new messages