On 19/09/2009, OvermindDL1 <[email protected]> wrote: > > On Wed, Sep 16, 2009 at 12:18 PM, Nick Johnson (Google) > <[email protected]> wrote: > > Hi Johnc, > > > > I just updated my answer to your question on Stack Overflow. The short > story > > is that you can do this by writing a handler that redirects users from any > > page that includes an uppercase character to the same URL without it. This > > could be extended to a handler that goes first in the list and rewrites all > > requests, not just ones for static content. > > > > I'd suggest watching the logs and fixing links as you can, though - the > > redirect will add a little bit of latency to requests. > > > > > http://stackoverflow.com/questions/1428431/switch-off-case-sensitive-urls-in-google-app-engine/1429800#1429800 > > > > -Nick > > > > On Wed, Sep 16, 2009 at 3:40 PM, johnc <[email protected]> wrote: > >> > >> We recently moved our company website to Google app engine. We have > >> encountered case sensitivity problems with some of the links in our > >> website. Some links are uppercase when the corresponding folders on > >> the server are lowercase. This was not an issue on our old windows > >> server. Google app engine appears to be case sensitive with URLs. This > >> is causing broken links. > >> > >> Does anyone know if there is a way to make our URLs work case > >> insensitively on Google app engine? > > > > For note, URI addresses are case-insensitive (the www.google.com > part), the path is *NOT* case insensitive, I am guessing you were > either using a broken Windows server or something like Apache with > url-rewrite or whatever it was called.
Just about any webserver running on windows will be case insensitive - because the underlying operating system is. (or at least when a url maps to a file on the file system by the webserver, url handlers that go to scripts obvisoully can choose to be case sensitive or not) > You should never assume > case-insensitivity on a URI path, *ever*. yep :) > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~----------~----~----~----~------~----~------~--~---
