index.php in folders.

Steve Holdoway steve at greengecko.co.nz
Fri Jun 7 05:24:39 UTC 2013


Is there a simple config I can use to check for an index.php in
subfolders?

It was my understanding that if I used

	index index.php;

in the server block, and

	try_files $uri $uri/ /index.php;

in location / {} that it would look for $uri/index.php. But I do seem to
be misunderstanding. 

Help!

Steve

-- 
Steve Holdoway BSc(Hons) MNZCS 
http://www.greengecko.co.nz
Linkedin: http://www.linkedin.com/in/steveholdoway
Skype: sholdowa



More information about the nginx mailing list