[FUG-BR] [OFF-TOPIC] APACHE

Patryck Ramos Martins patryckrm em gmail.com
Segunda Junho 29 14:37:26 BRT 2009


Olá a todos, trabalho com alguns aplicativos do ministério da saúde e tenho
que colocar o TabNET para funcionar no BSD -- Apache --

Além de permissoes em pastas, tive que adicionar algumas linhas no
httpd.conf do Apache, tais como:

AddType application/vnd.datasus.tabulacao .tabAddType
text/csv                          .csv
AddType application/octet-stream          .dbf
AddType text/plain                        .def
AddType text/plain                        .cnv

Apesar de toda a configuração realizada tenho os seguintes erros:
Internal Server Error

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

Please contact the server administrator, 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.
------------------------------

No /var/log do apache tem o seguinte:[Fri Jun 26 19:57:00 2009] [error]
[client 172.22.34.157] (8)Exec format error: exec of
'/usr/local/www/cgi-bin/dh' failed
[Fri Jun 26 19:57:00 2009] [error] [client xx.xx.xx.xx] Premature end of
script headers: dh
[Fri Jun 26 19:57:01 2009] [error] [client xx.xx.xx.xx] (8)Exec format
error: exec of '/usr/local/www/cgi-bin/dh' failed
[Fri Jun 26 19:57:01 2009] [error] [client xx.xx.xx.xx] Premature end of
script headers: dh
[Fri Jun 26 19:57:01 2009] [error] [client xx.xx.xx.xx] (8)Exec format
error: exec of '/usr/local/www/cgi-bin/dh' failed
[Fri Jun 26 19:57:01 2009] [error] [client xx.xx.xx.xx] Premature end of
script headers: dh
[Fri Jun 26 19:57:01 2009] [error] [client xx.xx.xx.xx] (8)Exec format
error: exec of '/usr/local/www/cgi-bin/dh' failed
[Fri Jun 26 19:57:01 2009] [error] [client xx.xx.xx.xx] Premature end of
script headers: dh
[Fri Jun 26 19:58:05 2009] [error] [client xx.xx.xx.xx] (8)Exec format
error: exec of '/usr/local/www/cgi-bin/dh' failed
[Fri Jun 26 19:58:05 2009] [error] [client xx.xx.xx.xx] Premature end of
script headers: dh

Testei em outras versões do APACHE e no UNIX não roda...
Testei num REDHAT e roda tranquilo...

Obrigado

-- 
Patryck


Mais detalhes sobre a lista de discussão freebsd