[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Configurando CGI no Apache



Pessoal,

Quando tento rodar um script cgi, no apache vem a
mensagem de forbidden na tela do browser. E o log
aparece isso:

[Mon Feb 26 04:54:25 2007] [error] [client
192.168.1.24] attempt to invoke directory as script:
/usr/lib/cgi-bin/

Minhas configurações:

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>

# To use CGI scripts outside /cgi-bin/:
#
AddHandler cgi-script .cgi

DirectoryIndex index.html index.cgi index.pl index.php
index.xhtml

Att,

Faria


__________________________________________________
Fale com seus amigos  de graça com o novo Yahoo! Messenger 
http://br.messenger.yahoo.com/ 



Reply to: