On Sun, Jun 27, 2010 at 05:17:43PM -0400, JCR wrote:
> Hello
>
> 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
> [code]
> 45 location ~* / {
> 46 index index.html index.htm;
> 47 }
> [/code]
> would do the trick but it doesn't.
>
> What are the main strategies to achieve this result?
Unix file systems are case sensitive (except MacOS Extended file system).
if you want to handle only several files in this way, then:
location = /GO.html {
alias /path/to/go.html;
}
--
Igor Sysoev
http://sysoev.ru/en/
_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx