I compiled a custom python in my account.
If I try to run the scripts (without a #!.. line) having:
AddHandler custompy .py
Action custompy /cgi-bin/python.cgi
in the .htaccess file, the server throws an “Internal Server Error”.
But if I use the shebang line in the script (#!/home/account/site/cgi-bin/python.cgi) and with an empty .htaccess file it works.
I’m trying to figure out, why the first method doesn’t work, as it does for php ?