Well your response prompted me to check the nginx logs which confirm it was going straight to /CMS, no redirect. I then switched to a minimal layout.html file as that was the one component that was still not a default file. This then registered a user okay. When I went through the original head section to start adding stuff in I found this line:
<base href="{{='/%s/' % request.application if URL().startswith('/' + request.application) else '/'}}"/> Adding this to the minimal layout.html broke the user registration again, presumably because the form was taking the new base of /CMS/ as its target for POSTing data. I confirmed the base href was /CMS/ by inspecting the head element. I can't figure out why this didn't cause a problem in my original web2py 2.0.9 installation of this app though, the user register page on there also has the base element with href set to /CMS/ on the user registration page, yet user registration isn't broken there. I could understand a different browser handling the interaction between BASE and FORM elements differently, but I don't see why a different server would. I found this article on stack overflow about base: http://stackoverflow.com/questions/1889076/is-it-recommended-to-use-the-base-html-tag and decided I should avoid using the base anyway. I now just have to figure out why I used it in the first place (find out what breaks when I take it out) and find a better solution. I understand web2py much better now, so I'm sure I'll find a better way. Thanks for taking the time to look at my post, and confirming that the browser should normally post to the original URL. > > > -- 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 web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.