On 2007/01/03 15:11, Soner Tari wrote:
> On my network, ASP sites are served on a Microsoft IIS, and PHP sites
> are on OpenBSD Apache, and there is only one Internet connection with a
> single IP (all DNS records point to this IP). Since these web servers
> run on different hardware/IPs, I need to distribute http requests based
> on the requested URL, thus I think I need a reverse http proxy (Q1: am I
> right?) running on my firewall (OpenBSD, of course).

Is it an option to use different port numbers? That's probably
simplest and avoids 3rd-party software. If you put Apache on port
80 you could use mod_rewrite to redirect the ASP pages to the
other port.

> So I've found Pound v2.2. I think it works fine, does the job, and is
> very simple to configure, with a caveat being that I had to build
> openssl again with threads enabled.

There's also a 3-year-old development version of tinyproxy which
has reverse-proxy support (the tinyproxy in ports is the stable version,
but it's easy to use 1.7.0 instead - iirc just update the version number
in the ports Makefile and update distinfo).

Squid has 'http accelerator' mode which is a reverse-proxy.

varnish.linpro.no looks interesting, but it wants EVFILT_TIMER
which OpenBSD kqueue(2) doesn't have.

> I also thought that Apache in reverse proxy mode could do the job, but I
> failed to have OpenBSD httpd running in that mode. (Q2: could somebody
> point me to a help page which describes how to do that?)

/var/www/htdocs/manual/mod/mod_proxy.html

Reply via email to