Vicente Aguilar
February 28, 2010 02:42AM
Hi

You mean something like Apache's mod_dir's DirectorySlash. I've just tried and it works atomatically for me on a clean nginx install, no need to configure anything.

When you visit localhost/myweb, besides IE giving an error, does the address turn to "myweb/" or not? Is nginx correctly issuing the HTTP 301 redirect? Can you try with Firefox and the LiveHTTPHeaders extension and verify this?

Could you post your config?

Regards

El 27/02/2010, a las 10:32, ultrawind escribió:

> I 'm sorry for my bad english, i hope you can help me.
>
> I already setup the nginx and php.
>
> while i visit "http://localhost/myweb"
>
> the server return "Internet Explorer cannot display the webpage"
>
> while i visit "http://localhost/myweb/"
>
> then i can visit naturaly.
>
>
> how can i solve this problem?
>
> Should i config the nginx.conf file ?
>
> Posted at Nginx Forum: http://forum.nginx.org/read.php?2,57890,57890#msg-57890
>
>
> _______________________________________________
> nginx mailing list
> nginx@nginx.org
> http://nginx.org/mailman/listinfo/nginx

--
Vicente Aguilar <bisente@bisente.com> | http://www.bisente.com


_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

Do nginx do not auto differentiate the file name and directory name in the url?

ultrawind February 27, 2010 04:32AM

Re: Do nginx do not auto differentiate the file name and directory name in the url?

edogawaconan February 27, 2010 05:50AM

Re: Do nginx do not auto differentiate the file name and directory name in the url?

Vicente Aguilar February 28, 2010 02:42AM

Re: Do nginx do not auto differentiate the file name and directory name in the url?

ultrawind February 28, 2010 09:52PM

Re: Do nginx do not auto differentiate the file name and directory name in the url?

Vicente Aguilar March 01, 2010 01:56AM

Re: Do nginx do not auto differentiate the file name and directory name in the url?

ultrawind March 01, 2010 09:29PM

Re: Do nginx do not auto differentiate the file name and directory name in the url?

Igor Sysoev March 02, 2010 10:02AM

Re: Do nginx do not auto differentiate the file name and directory name in the url?

ultrawind March 04, 2010 03:03AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 130
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready