[FUG-BR] Apache não acessa

Bruno Torres Viana btviana em gmail.com
Segunda Março 22 09:29:29 BRT 2010


Rafael,

Quando desabilita o firewall e os demais serviços o apache funciona?
Aparece algum erro no LOG?

[]´s

Em 21 de março de 2010 14:29, Rafael C Silva <rafacs83 em gmail.com> escreveu:

> Pessoal sempre tive sucesso ao instalar o apache nos servidores bsd, como
> fiz uma nova configuração não sei o que pode estar bloqueando o acesso do
> apache.
>
> Estou usando Proxy transparente e ipfw.
>
> Ele esta stardado, não apresentou erros ao startar, dei um telnet e
> apresenta  esta mensagem:
>
>
>
> fire# telnet localhost 80
>
> Trying ::1...
>
> Connected to localhost.
>
> Escape character is '^]'.
>
> ^[
>
> <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
>
> <html><head>
>
> <title>501 Method Not Implemented</title>
>
> </head><body>
>
> <h1>Method Not Implemented</h1>
>
> <p>o /index.html not supported.<br />
>
> </p>
>
> </body></html>
>
> Connection closed by foreign host.
>
>
>
> Regras do IPFW
>
> fire# ipfw list
>
> 00100 fwd 127.0.0.1,3128 tcp from 192.168.0.0/24 to any dst-port 80
>
> 00200 divert 8668 ip from any to any via step0
>
> 00300 allow tcp from 192.168.0.0/24 to any dst-port 1863
>
> 00400 allow udp from 192.168.0.0/24 to any dst-port 1863
>
> 00500 allow tcp from 192.168.0.0/24 to any dst-port 6901
>
> 00600 allow udp from 192.168.0.0/24 to any dst-port 6801
>
> 00700 allow udp from 192.168.0.0/24 to any dst-port 6891
>
> 00800 allow tcp from 192.168.0.0/24 to any dst-port 6891
>
> 00900 allow udp from any to any dst-port 53
>
> 01000 allow udp from any to any dst-port 53
>
> 01100 deny udp from any to any in via ale0
>
> 01200 deny udp from any to any out via ale0
>
> 01300 deny udp from any to any in via ste01
>
> 01400 deny udp from any to any out via ste0
>
> 01500 deny tcp from any to any frag
>
> 01600 deny tcp from any to any tcpflags syn,rst
>
> 01700 deny tcp from any to any tcpflags syn,fin
>
> 01800 deny ip from any to any ipoptions lsrr
>
> 01900 deny ip from any to any ipoptions ssrr
>
> 02000 deny tcp from any to any ipoptions ssrr,lsrr,rr
>
> 02100 deny ip from 10.0.0.0/8 to 192.168.1.2 via ale0 in
>
> 02200 deny ip from 172.0.0.0/8 to 192.168.1.2 via ale0 in
>
> 65535 allow ip from any to any
>
> -------------------------
> Histórico: http://www.fug.com.br/historico/html/freebsd/
> Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd
>



-- 
-------------------------------
Bruno Torres Viana



Todos nós somos ignorantes, porém em assuntos diferentes. Não seja ignorante
por opção!


Mais detalhes sobre a lista de discussão freebsd