I want apache to do this >
mydomain.com:80 --- opens var/www1 mydomain.com:81 --- opens var/ww2 mydomain.com:82 --- opens var/www3
Problem is I dont know if those ports are open on Linux (how do i check?)
And if they're not how do I open them in the firewall and get apache to listen?
I tried doing this
> iptables -A RH-Firewall-1-INPUT -m NEW -m tcp -p tcp –dport 81 -j ACCEPT iptables v1.3.5: Couldn't load match `NEW':/lib64/iptables/libipt_NEW.so: cannot open shared object file: No such file or directory
and I checked the ports... looks like httpd is listening... but I dunno why I can't hit my URL
> netstat -tulpn | less tcp 0 0 :::80 :::* LISTEN 6840/httpd tcp 0 0 :::81 :::* LISTEN 6840/httpd tcp 0 0 :::82 :::* LISTEN 6840/httpd