Não é possível carregar example.pl do navegador

1

Eu instalei o servidor web apache no Ubuntu e criei example.pl in /usr/lib/cgi-bin .

Eu também adicionei o código abaixo ao arquivo /etc/apache2/sites-enabled/000-default.conf

ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
<Directory "/usr/lib/cgi-bin">
AllowOverride None
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
</Directory>

De /usr/lib/cgi-bin quando executo ./example.pl Estou recebendo a saída, mas quando eu tentei carregar o script perl do navegador usando localhost/cgi-bin/example.pl , estou recebendo este erro:

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

Por favor, ajude-me a resolver este problema, eu sei que é simples, mas não sei o que fazer para corrigir isso

    
por venkataramana 25.10.2014 / 21:08

0 respostas