Koozali.org: home of the SME Server

Can SME easily expose backend web servers

Offline tgminc

  • *
  • 15
  • +0/-0
Can SME easily expose backend web servers
« on: July 15, 2007, 07:26:35 PM »
Simple question I think.

I want to segregate web content across multiple internal web servers on the same domain that are behind an SME gateway server.

Can SME support a configuration like:

mydomain.ca (SME Server/Gateway - Primary web server)
www1.mydomain.ca (first alternate internal web server)
www2.mydomain.ca (second alternate internal web server)

This is easy to do internally by adding a hostname but does not work outside of the local network.

Any ideas how to expose these internal servers without embedding forwarding ports in the outside URLs?

Thanks.

Offline pfloor

  • *****
  • 889
  • +1/-0
Can SME easily expose backend web servers
« Reply #1 on: July 16, 2007, 12:22:45 AM »
Search for ProxyPass.  In the past, you had to do it with custom-templates or a contrib however it is now built-in with some DB commands.  It needs more testing and has a problem in the manager panel but does seem to work correctly as far as I could tell.

Here is the bug request to add it to the base:
http://bugs.contribs.org/show_bug.cgi?id=1612
In life, you must either "Push, Pull or Get out of the way!"