> O arquivo de conf. do apache est� setado para procurar o script no local
> certo ? Pois aparentemente ele n�o est� encontrando o diret�rio.
O virtualhost que criei pelo webmin est� assim (fica na �ltima parte do
httpd.conf):
<VirtualHost _default_:8000>
DocumentRoot /home/httpd/
ScriptAlias /cgi-bin /home/httpd/cgi-bin
Script POST /home/httpd/cgi-bin/chat.cgi
Options +ExecCGI FollowSymLinks Includes IncludesNOEXEC Indexes MultiViews
</VirtualHost>
J� a parte referente ao cgi (no meio do httpd.conf) est� assim:
ScriptAlias /cgi-bin /home/httpd/cgi-bin
#
# "/home/httpd/cgi-bin" should be changed to whatever your ScriptAliased
# CGI directory exists, if you have that configured.
#
<Directory "/home/httpd/cgi-bin">
AllowOverride All
Options +ExecCGI
</Directory>
Se estou tentando acessar o chat.cgi atrav�s de um form (em POST) que aponta
para para <FORM method=POST
action="http://guster.localdomain:8000/cgi-bin/chat.cgi?job=login"> recebo o
erro :
Internal Server Error
The server encountered an internal error or misconfiguration and was unable
to complete your request.
Please contact the server administrator, root@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.
Apache/1.3.14 Server at guster.localdomain Port 8000
J� se tento acessar a pasta cgi-bin, em
http://guster.localdomain:8000/cgi-bin/, o erro �:
Forbidden
You don't have permission to access /cgi-bin/ on this server.
Apache/1.3.14 Server at guster.localdomain Port 8000
Os arquivos de log acusam o seguinte:
error_log:
Tue May 22 14:59:56 2001] [error] [client 127.0.0.1] attempt to invoke
directory as script: /home/httpd/cgi-bin
acces.log:
127.0.0.1 - - [22/May/2001:14:58:55 -0300] "POST /cgi-bin/chat.cgi?job=login
HTTP/1.0" 500 599
Alguma sugest�o ?
Agrade�o a ajuda.
Gustavo
Assinantes em 22/05/2001: 2281
Mensagens recebidas desde 07/01/1999: 114551
Historico e [des]cadastramento: http://linux-br.conectiva.com.br
Assuntos administrativos e problemas com a lista:
mailto:[EMAIL PROTECTED]