trailing / problem
just starting
just.starting at gmail.com
Mon Feb 18 13:26:04 MSK 2008
hi,
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 www.mysite.com/testsite/ it works fine, but when I try
www.mysite.com/mysite 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.
Thanks,
Rakesh.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx/attachments/20080218/dd9e3060/attachment.html>
More information about the nginx
mailing list