onfiguração python apache2

ola galera estou tentando executar um programa em python no servidor ja dei permissao na pasta 775, toda vez que tento acessar o arquivo da erro 500

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, webmaster@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

configuração do apache


<Directory /var/www/cgi-bin/>
                Options Indexes FollowSymLinks MultiViews
                AllowOverride None
                Order allow,deny
                allow from all
                AddHandler mod_python .py
                PythonHandler mod_python.publisher
                PythonDebug On
        </Directory>

o modulo do apache para python ja foi instalado libapache2-mod-python