Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Jun 2004 12:42:19 -0600
From:      Dan MacMillan <flowers@users.sourceforge.net>
To:        "Goodleaf, John" <JGoodleaf@ctiseattle.com>
Cc:        freebsd-questions@freebsd.org
Subject:   RE: web serving
Message-ID:  <FGEIJLCPFDNMGDOKNBABAEKGCNAA.flowers@users.sourceforge.net>
In-Reply-To:  <CE08B4435DAA314CB549C1DBA2677AAC148258@CTI-501EXCHANGE.celltherapeutics.local>

next in thread | previous in thread | raw e-mail | index | archive | help
Goodleaf, John wrote:

>   Please reply to john@goodleaf.net
>   So I have a FreeBSD server at home serving some web pages, mostly web
>   mail (Apache). It's running on a DSL line behind a gateway that
>   forwards port 80 requests to it. Now here's the problem. I need to
>   serve also from an IIS .NET server (it's for my girlfriend; don't bug
>   me). So my question: How do I serve some things from the IIS server
>   and some from the BSD server?  Do I set up some kind of proxying?
>   I'm sure there are three hundred solutions, but this is not something
>   I've ever had to learn about. I'm willing to RTFM; I just want to be
>   pointed in the right direction.
>   Thanks,
>   John

If you need it on the same IP address and port, you can set up a reverse
proxy using mod_proxy.  I've only ever used it with Apache 2 but I think it
works the same on 1.3, if that's what you're using.  You basically specify
that requests for a particular path will be served by another server.  This
can be combined with virtual hosts if you want.  See the ProxyPass and
ProxyPassReverse directives.

http://httpd.apache.org/docs-2.0/mod/mod_proxy.html

--
Danny



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?FGEIJLCPFDNMGDOKNBABAEKGCNAA.flowers>