I've got a web server that may run python scripts, however i don't have any experience whatsoever with python. I submitted the file (TorBulkExitList.py) to my server within the cgi-bin folder and that i attempted calling it within the browser but it is giving us a 500 Internal Server Error. Here's the python script:


Can there be anything I have to do before I possibly could run this script? I did not change everything from the script whatsoever. Every other alternative, I simply need to get a listing from the TOR exit Insolvency practitioners. I am on the Linux/PHP/Apache server btw.

I observe that file is really a wsgi application (since it implements a application method.) You have to configure apache to transmit demands into it using mod_wsgi (as well as other wsgi server.)

Try adding this towards the site's .htaccess (using the correct file path):

WSGIScriptAlias /TorBulkExitList /usr/local/www/cgi-bin/TorBulkExitList.py

after which visit http://example.com/TorBulkExitList

Click here to see much more about mod_wsgi configuration.