Page 1 of 1

Accessing server by real IP address = no form posts?

Posted: Tue May 24, 2005 2:17 pm
by deffe
Running RedHat EL4, Apache 1.33, PHP5.

When using the server's real external IP I cannot complete a form post. It will keep running forever, as if the request does not know where to go. It works if I use the internal IP address or the dns name from internal or external.

It might be a configuration within httpd.conf or something with /etc/hosts but not sure.

Posted: Tue May 24, 2005 2:55 pm
by traherom
If the server is the same one you're testing on, you'll need to add a entry in the hosts file. At least that's what its called under Windows. I don't remember for Linux... :lol:

Posted: Tue May 24, 2005 3:26 pm
by timvw
First you need to make sure you can reach the host (try to ping it...)

If that doesn't work, you might want to look at your routing tables, and eventually use a sniffer to find out where the packets get lost in cyberspace ;))

If you can reach the host, you might want to show us the relevant parts from your httpd.conf :)