Python CGI: Difference between revisions

 
Line 193:
== Troubleshooting ==
 
* If the Javascript is not loading & you are getting HTTP Error code 500 in the browser, Need to move the JS files output of the CGI-BIN directory. Every time you trying to access any file within cgi-bin path it is expecting that content will be generated by executing that file.
* Every time you trying to access any file within cgi-bin path it is expecting that content will be generated by executing that file.
 
https://serverfault.com/questions/672189/how-do-i-prevent-apache2-from-trying-to-execute-a-file-as-a-script