Problems with rewrite on windows

Igor Sysoev is at rambler-co.ru
Thu Sep 10 18:05:35 MSD 2009


On Thu, Sep 10, 2009 at 09:57:51AM -0400, halfd wrote:

> 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 :(

Could you show your current configuration with

if (-f $request_filename ....

?


-- 
Igor Sysoev
http://sysoev.ru/en/





More information about the nginx mailing list