trailing / problem
Denis F. Latypoff
denis at gostats.ru
Mon Feb 18 13:31:50 MSK 2008
Hello just,
Monday, February 18, 2008, 4:26:04 PM, you wrote:
> 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.
yes, it would be good if you copy it.
> Thanks,
> Rakesh.
--
Best regards,
Denis mailto:denis at gostats.ru
More information about the nginx
mailing list