WIREDGATE: apache関連の接続セキュリティ

2010年12月2日木曜日

apache関連の接続セキュリティ

80ポートでアクセスできないときは次の設定を見直すこと

ファイヤウォール設定

/etc/sysconfig/iptables
に以下を追記
-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 80 -j ACCEPT

iptablesを再起動
service iptables restart

SELinux設定
まず確認
getsebool -a | grep -e httpd

http関連のネットワークがoffだったらonにする
setsebool -P httpd_can_network_connect=on

0 件のコメント: