Re: Nginx always searches index.php in the wrong directory

2016-05-07 Thread Francis Daly
On Fri, May 06, 2016 at 03:22:25PM -0400, Issam2204 wrote: Hi there, when I use your configuration and make some guesses about the content and requests, it seems to work for me. That is: if the directory /var/www/html/chatserver does not exist, then /var/www/html/index.php is processed; otherwi

Nginx always searches index.php in the wrong directory

2016-05-06 Thread Issam2204
Hello! I have a web root directory pointing to /var/www/html. I have several subfolders in /var/www/html where I host different projects. Example: /var/www/html/chatserver When I try to access http:// MYSERVER.net/chatserver I always have an error because Nginx tries to search for the index.php