Friends do not judge strictly for the question. You can explain the work of cgi with the server Nginx. When working on one project I saw this form of sending
<form id="contectform" action="script.cgi" method="post"> <input type="text" name="name" placehold="name" /> <button type="submit" value="send">Send</button> </form> You can tell why data processing refers to script.cgi and not index.php . I will say that the site worked on Nginx. Thank you in advance
script.cgiin this way does not tell you that the protocol of the web server and the application itself. Nginx will process this request in accordance with the settings, in particular, it will find the desired location and send it to the rules in this location. Even shorter, it seems - cgi has nothing to do with anything else; moreover, in the modern world fast-cgi has been used for a long time, and a comrade just wanted to ... - zalex