Do nginx do not auto differentiate the file name and directory name in the url?
Vicente Aguilar
bisente at bisente.com
Sun Feb 28 10:39:26 MSK 2010
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 at nginx.org
> http://nginx.org/mailman/listinfo/nginx
--
Vicente Aguilar <bisente at bisente.com> | http://www.bisente.com
More information about the nginx
mailing list