Why cgi scripts have to stay in cgi-bin folder ?
What is the difference from insert python script ( or php script or any other script ) in public_html folder and in cgi-bin folder ?
I don't understand :-\
Why cgi scripts have to stay in cgi-bin folder ?
What is the difference from insert python script ( or php script or any other script ) in public_html folder and in cgi-bin folder ?
I don't understand :-\
They don't have. The only restriction is that CGI scripts have to be in deirectory which has
Options +ExecCGI
directive switched on, and in default Apache configuration only /cgi-bin directory has this option on. But nothing prevents you from enabling CGI in other directories.
Some believe that putting all CGI scripts in one place is more secure.