Apache + Linksys Router + Vhosts = Headache
The layout: Cable modem connection to a Linksys router to a RH 7.2 machine running Apache 1.3.22.
RH machine : Has apache, Bind, SSH, etc.. 6 ips assigned to the eth0. 1 for the machine, 2 for DNS, 3 for Apache Virtual hosts.
Problem : I forward port 80 to ip 192.168.1.30 (the third in ip setup) from the router to the linux machine. You browse to the cable set ip and you get the apache root website.
What I've tried: Looked over the config for bind, apache, eth0. All look fine and work internally. All the Vhosts work great internally. I've tried forwarding to the other vhosts... same issue. If I change the root web I can set it to what ever dir I want and can browse it but for some reason the server refuses to goto the ip of the vhost. No errors are in the logs for the vhosts or the server. Server starts up fine.
I'll be banging my head against a wall trying to figure this out if anyone would like to help.
UPDATE: After getting the JK2 server running and adding the port on the router to forward to the server my net died. Well I looked at the setup and realized that the software was not just forwarding the single port. It was doing 0 - 28070. So I moved it to 28070 - 28071. Then I thought and moved the port 80 to 80 - 81. Now the forwarding to the vhost is working. So even though Linksys says drop in just the port and it will forward the router software is taking that port kicking to the end of the forward rule and forwarding port 0 - whatever. So I have redone almost all of my port forwarding now. Everything seems to be happy. Teferi you may look at your router, if it's the same one, and see if that's what you are running into.
Thanks for the help everyone... Current Mood: aggravated