Thanks Charles, had the same issue and it was giving me headaches as yahoo oauth login was breaking because it was removing the trailing slash on specified redirect url. Going through your steps helped. Needed this link https://code.google.com/p/googleappengine/issues/detail?can=2&start=0&num=100&q=&colspec=ID%20Type%20Component%20Status%20Stars%20Summary%20Language%20Priority%20Owner%20Log&groupby=&sort=&id=1477 though before I was successfully able to have appengine add trailing slashes when missing. Doing this in turn fixed the yahoo oauth login.
On Wednesday, 31 March 2010 05:22:04 UTC+1, Charles wrote: > > Hmmm, I think I might have fixed it...but I don't get how. > > I've added error-pages to my web.xml which catches 404 and 500 errors > and returns an appropriate error page (via > > http://code.google.com/appengine/docs/java/config/webxml.html#Error_Handlers > ). > After I fixed and deployed that, the previous URLs that didn't work > (i.e. www.examples.com/about) all of a sudden started to redirect > properly (i.e. to www.examples.com/about/). Weird. I'm not sure > exactly what happened, but this seems to be a non-issue now. Anyways, > false alarm...I guess :p > > Thanks > > > Charles > > > On Mar 30, 6:53 pm, Charles <[email protected]> wrote: > > Hi all, > > > > This is a pretty simple problem, but I'm not sure how to approach it > > with GAE. The problem is this. I have an about page set up as an > > index.jsp page under the directory /about/. So, when I access... > > > > www.example.com/about/index.jspwww.example.com/about/ > > > > ...it works just fine. BUT, when I access... > > > > www.example.com/about(notice, no trailing slash) > > > > ...it fails. I know why. It's interpreting it as a file and not a > > directory. But, with traditional webservers like Apache, if it finds > > no file, it will look for it as a directory and return the proper > > page. An extra round-trip, sure, but it's definitely desirable. The > > problem is, GAE doesn't seem to do that. The only solutions I've > > found online were to do URL-rewriting, or create redirect servlets, or > > dedicated servlets for certain pages. This seems excessive, and I'm > > hoping I'm missing something. Anyone have any suggestions? > > > > Thanks in advance > > > > Charles > > -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/1f98933f-1a6b-4e92-b4ca-b48013218c7e%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
