Bom dia pessoal. Estou travando uma batalha a dias e não to conseguindo sair do lugar. Estou tentando rodar Python CGI no meu computador mas não sei onde estou errando, poderiam me ajudar?
Tenho instalado
Ubuntu 14.04
Apache 2
Python
libapache2-mod-python
PHP5
Todos instalados pelo apt.
As configurações são:
(Estou postando no pastebin para não ficar extenso demais aqui.)
/etc/apache2/apache2.conf ->
http://pastebin.com/7wcxX1j7/etc/apache2/sites-avaliabe/000-default.conf ->
http://pastebin.com/5tuMCVCz/etc/apache2/sites-enable/000-default.conf ->
http://pastebin.com/aUzFHrJ4Quando tento entra na pasta aparece isso no navegador:
Forbidden
You don't have permission to access /cgi-bin/ on this server.
Apache/2.4.7 (Ubuntu) Server at localhost Port 80
Quando tento rodar um script .py dentro da pasta cgi-bin aparece isso no navegador:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator at webmaster@localhost to inform them of the time this error occurred, and the actions you performed just before this error.
More information about this error may be available in the server error log.
Apache/2.4.7 (Ubuntu) Server at localhost Port 80