Koozali.org: home of the SME Server

proxy pass

Dean Thomas

proxy pass
« on: September 03, 2002, 03:42:56 AM »
ok I gave up trying to host several domains on the e-smith box - the problem was when you allowed unrestricted to access to the http traffic on the virtual domain ibays, it also allowed people to log into ibay ftp accounts with any old password. I tried contacting a service link dealer and asked if it was possible (I was willing to pay for the service link, but only after someone could tell me if it was possible) but each time I have contacted the dealer in australia, he hasn't been bothered to return my long distance phone calls.

So as a solution I thought I would give Darrell May's proxy pass a go (God bless Darrel:-) this seems to do the trick, as now I have the esmith box as the firewall and router and another linux box behind it running a domain and a couple of virtual hosts for me. The question I have though, is do I need to modify the hostnames in the esmith server manager once I have setup the proxy pass? For instance, one of my hosts on the linux box behind the firewall is http://careclass.is-a-geek.com do I need to modify the mail and www entry for this to work. I am a little worried as I don't have an outside connection to see if this works.

Abe Loveless

Re: proxy pass
« Reply #1 on: September 06, 2002, 10:35:19 PM »
Dean,

You shouldn't need to modify any of the hostnames.  The internal hosts will, effectively, be invisible.  As I understand the ProxyPass module... the Apache server of the E-Smith server (sort of) mirrors the content of the internal server.  The names of the internal system shouldn't be revealed.

Here's how it works, from Apache:
http://httpd.apache.org/docs-2.0/mod/mod_proxy.html#proxypass

Hope that helps,
Abe