On a centos 5 box running the latest nginx, I am struggling with case
sensitivity:
I have in root the file go.html
and I want the request for file GO.html server the file go.html
I thought that
something like
45 location ~* / {
46 index index.html index.htm;
47 }
would do the trick but it doesn’t.
What are the main strategies to achieve this result?
I would need a more general solution to this problem (and I need to keep
my filesystem case sensitive). Sometimes, owners of websites use caps to
make their urls more readable. For instance, they would write “website: www.gallery.com/TheArtClub.html” on their business card. Of course, it
is sometimes difficult to anticipate their usage of capital letters. And
I find it difficult to explain them that they should never user capital
letters in print materials…
Posted at Nginx Forum:
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.