Skip to content
Grav 2.0 is officially stable. Read the announcement →

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

Installation & Hosting

Cgi.fix_pathinfo = 0 not the right setting anymore? Error: no input file specified

Started by rappluk 8 months ago · 0 replies · 60 views
8 months ago

Following this tutorial, I’ve gotten as far as displaying the testing info.php and index.html thru my nginx server. Only difference is, I’m using php 8.3 instead of 7.something as in the tutorial.

But something that confuses me is the insistance to set cgi.fix_pathinfo to zero. I can’t find much information about its relevance online, apart from old security notices.

The problem I have is the following: While my info.php renders correctly in browser, the same cannot be said for the index.html

Even the default nginx config from grav, doesn’t render my index.html in that case, instead showing no input file specified.

Again, researching that leads me in circles cause answers like this one recommend switching the fix_pathinfo to 1 again.

What is the current advise to deploy my grav site? Can I set it to 1 or do I need to apply some different fix?

Suggested topics

Topic Participants Replies Views Activity
Installation & Hosting · by antoinep, 9 hours ago
5 53 3 hours ago
Installation & Hosting · by Jürgen Dietrich, 7 months ago
0 60 7 months ago
Installation & Hosting · by N, 12 months ago
3 70 12 months ago
Installation & Hosting · by Youle, 1 year ago
1 57 1 year ago
Installation & Hosting · by Jonas Bertschinger, 1 year ago
3 115 1 year ago