Problems with rewrite on windows

halfd nginx-forum at nginx.us
Thu Sep 10 17:57:51 MSD 2009


Igor Sysoev Wrote:
-------------------------------------------------------
> Probbaly, you should use:
> 
> location / {
>     root   c:/webroot/detfri.dk/site/www/;
>     try_files $uri/index.html $uri;
> }

Tried that, and unfortunately it does not work. Nginx gives me a 500 due to too many internal redirects.
It still works then not containing ASCII chars, so thats seems to be where the problem is.

I've just been experimenting with different setups of the config, but nothing gives me the correct result :(

thanks, Halfdan

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,6256,6281#msg-6281






More information about the nginx mailing list