After extensive testing, it seems as though there is a problem with setting up OpenBSD's Apache server to act as a tcp proxy. The functionality for this is built in by default and all that has to be done is make a slight modification to the httpd.conf file (load the proxy module and turn ProxyRequests on).
Here is the problem: After turning the proxy server on, all website requests that are based on a domain name are returned as Error 500 - Host not found. The weird thing is that if I try to access the website by using the IP instead of the domain name then the request is processed with no trouble.
Example:
= host not found - can't handle proxy request
XXX.XXX.XXX.XXX = proxy request handled fine
Now I know what you are thinking, "His DNS settings are not setup correctly." Unfortunately they are. I can use lynx, wget, etc on the OpenBSD box and pages load up fine. It’s only when I try to do things through the Apache proxy that the problems start.
I have tested this on two different machines (OpenBSD 3.7 & 3.6) on two completely different networks and the problem is exactly the same. I even downloaded Apache directly from the Apache website, compiled it with proxy support, and laughed as it worked with out problems.
There seems to be something wrong with the proxy module in OpenBSD's modified version of Apache.
Could a couple of people verify that this problem happens on their OpenBSD boxes as well? It would take just a second to turn on the proxying feature in the httpd.conf file. If I knew other people had this problem I would know that it wasn't just because of something I was doing wrong.
Thank you very much.
Here is the problem: After turning the proxy server on, all website requests that are based on a domain name are returned as Error 500 - Host not found. The weird thing is that if I try to access the website by using the IP instead of the domain name then the request is processed with no trouble.
Example:
= host not found - can't handle proxy request
XXX.XXX.XXX.XXX = proxy request handled fine
Now I know what you are thinking, "His DNS settings are not setup correctly." Unfortunately they are. I can use lynx, wget, etc on the OpenBSD box and pages load up fine. It’s only when I try to do things through the Apache proxy that the problems start.
I have tested this on two different machines (OpenBSD 3.7 & 3.6) on two completely different networks and the problem is exactly the same. I even downloaded Apache directly from the Apache website, compiled it with proxy support, and laughed as it worked with out problems.
There seems to be something wrong with the proxy module in OpenBSD's modified version of Apache.
Could a couple of people verify that this problem happens on their OpenBSD boxes as well? It would take just a second to turn on the proxying feature in the httpd.conf file. If I knew other people had this problem I would know that it wasn't just because of something I was doing wrong.
Thank you very much.