/_ah/
/form
[1] http://code.google.com/appengine/docs/python/config/appconfig.html#Reserved_URLs
Now, it is clear from the actual use of the /_ah/ prefix that anything
that starts with /_ah/ is reserved. As for /form, there is room for
ambiguity here. Suppose an app is deployed on the www.example.com
Google Apps domain. Which of the following URLs are reserved?
(1) www.example.com/form
(2) www.example.com/form?var=value
(3) www.example.com/form/
(4) www.example.com/form/?var=value
(5) www.example.com/form/foo
(6) www.example.com/forms/bar
(7) www.example.com/formula
It looks like only (1) and (2) are reserved. If so, please update the
docs to make this distinction clear: any URL that *starts* with /_ah/
is reserved but only /form itself is reserved, and it is safe to use
any other URLs that start with /form.
By the way, why was /form reserved in the first place? It is a useful
URL and it would be nice to lift that limitation and move anything
that could possibly use it under /_ah/form. Reserving such a common
word is inelegant. In practice, migrating an existing app to App
Engine if the app has some important page at /form is impossible
because of that limitation. The original appname.com/form page could
be bookmarked or linked to from numerous places, and we can't even set
up a redirect to work around the problem.
Thanks.
Alexander
Tim,
Thanks for your reponse.
Yes, for some /_ah/ paths, you're even supposed to handle them
yourself. For example, the Python warmup handler.
But I couldn't get my code to handle /form (not /form/ or
/form/something, but /form itself). Google's built-in handler always
takes precedence and returns a Google-branded 404 page with a nice
robot image. So the issue with /form is not theoretical.
What do you use /form for?
Regards,
Alexander
-- Alexander