Ola, amigo ja fiz esta mesma pergunta no datasus.gov.br/forum ele me informaram que so testaram no linux e nao unix. entao pode continuar com linux mesmo.
2009/6/29 Patryck Ramos Martins <[email protected]>: > 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 > ------------------------- > Histórico: http://www.fug.com.br/historico/html/freebsd/ > Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd > -- Alessandro de Souza Rocha Administrador de Redes e Sistemas FreeBSD-BR User #117 Long live FreeBSD Powered by .... (__) \\\'',) \/ \ ^ .\._/_) www.FreeBSD.org ------------------------- Histórico: http://www.fug.com.br/historico/html/freebsd/ Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd

