**SOLVED - This was due to my own stupidity** If I use my current iptables firewall settings my php includes from my own site get blocked by the firewall. If I use accept all tcp and udp it still does not work. If I use a default policy of accept all, then the php includes work which is not safe.
I am running a drupal 6 site on a centos 5.3 vps with apache 2.2.0 and php 5.2.6 w/ safe mode on.
He is my current iptable configuration.
Quote:
Chain VZ_FORWARD (1 references)
target prot opt source destination
Chain VZ_INPUT (1 references)
target prot opt source destination
DROP tcp -- ppp-net.infoweb.ne.jp/8 anywhere
DROP tcp -- 59.0.0.0/8 anywhere
DROP tcp -- 60.0.0.0/8 anywhere
DROP tcp -- 61.0.0.0/8 anywhere
DROP tcp -- 66.0.0.0/8 anywhere
DROP tcp -- 118.0.0.0/8 anywhere
DROP tcp -- 202.0.0.0/8 anywhere
DROP tcp -- softbank219000000000.bbtec.net/8 anywhere
ACCEPT tcp -- anywhere anywhere tcp dpt:http
ACCEPT tcp -- anywhere anywhere tcp dpt:65022
ACCEPT tcp -- anywhere anywhere tcp dpt:smtp
ACCEPT tcp -- anywhere anywhere tcp dpt:pop3
ACCEPT tcp -- anywhere anywhere tcp dpt:domain
ACCEPT udp -- anywhere anywhere udp dpt:domain
ACCEPT tcp -- anywhere anywhere tcp dpts:filenet-tms:65535
ACCEPT udp -- anywhere anywhere udp dpts:filenet-tms:65535
ACCEPT tcp -- CT123456 CT123456
ACCEPT udp -- CT123456 CT123456
ACCEPT tcp -- anywhere anywhere tcp dpts:ftp-data:ftp
ACCEPT tcp -- anywhere anywhere tcp dpts:filenet-tms:65535
ACCEPT tcp -- anywhere anywhere tcp dpt:ndmp
Chain VZ_OUTPUT (1 references)
target prot opt source destination
ACCEPT tcp -- anywhere anywhere tcp spt:http
ACCEPT tcp -- anywhere anywhere tcp spt:65022
ACCEPT tcp -- anywhere anywhere tcp spt:smtp
ACCEPT tcp -- anywhere anywhere tcp spt:pop3
ACCEPT tcp -- anywhere anywhere tcp spt:domain
ACCEPT udp -- anywhere anywhere udp spt:domain
ACCEPT tcp -- anywhere anywhere
ACCEPT udp -- anywhere anywhere
ACCEPT tcp -- CT123456 CT123456
ACCEPT udp -- CT123456 CT123456
ACCEPT tcp -- anywhere anywhere tcp spts:ftp-data:ftp
ACCEPT tcp -- anywhere anywhere tcp spts:filenet-tms:65535
|