trailing / problem

just starting just.starting at
Mon Feb 18 13:26:04 MSK 2008


When I dont put a trailing '/', the testsite is redirecting me to localhost.

conf file snippet:
location /testsite/ {
       root /usr/local/nginx/html;
       index index.html view.html /view.html;
       error_page 404 = @jetty;

Now when I enter it works fine, but when I try it redirects me to http://localhost/testsite/

What is the problem here.

If you cant come to any conclusion without looking at the conf file let me
know, I will copy it.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the nginx mailing list