I set up a simple python web server by opening a terminal in a directory and doing
python -m CGIHTTPServer
There is a CGI script in the directory but when I type into the browser
The CGI script is not executed but is downloaded instead. I chmod'ed the script to 755 but still the same. What am I doing wrong?