I finally got apache installed. I moved my .cgi python web application to var/www/cgi-bin however when I went to 127.0.0.1/cgi-bin/web.cgi but it said the web address didn't exsist. So I put the file in in var/www/ and it just read what was in the script, it didnt execute it. So I tried saving it as a .py, but when I did that and went to 127.0.0.1/web.py it asked If I wanted to download web.py. Finally I tried putting the .py in var/www/cgi-bin but again, when I went to 127.0.0.1/cgi-bin/web.py, apache said that it wasn't on the server. Anyone got any ideas?

Anyone got any ideas?

This should help. Don't ever underestimate the power of documentation.