Home > Archive >  2008 >  November >  19


Reverse proxy with Apache on Windows?

Wednesday, November 19, 2008 by Dave Winer.

Update: It worked, after a fresh install of Apache and a bit of fussing in the OPML Editor. Permalink to this paragraph

0. I must use Windows, so please don't tell me I shouldn't use Windows. Thanks in advance.  Permalink to this paragraph

1. I have at least two HTTP servers that I want to run on one box, one of them is Apache. The other is the OPML Editor. I may want to run Frontier as well (so I can serve Manila sites that are still in use).  Permalink to this paragraph

2. If the colocation service allowed multiple IP addresses per machine, I would just use one for Apache and one for OPML and one for Frontier, and I'm done. Unfortunately the colo I'm using only allows a single IP address. So I must come up with a software solution. Permalink to this paragraph

3. Apache has a module that does a reverse proxy service, that allows you to route requests, by domain, to other servers. That's great, because I would just use Apache to do that. But last week I spent four hours farting around with it and couldn't get it working. It turns out there are undocumented switches somewhere, no one is exactly sure, and there are no docs (at least none that make any sense to me).  Permalink to this paragraph

Update: Whenever I include the ProxyPass directive in a my conf file, I get this cryptic error dialog. Until I remove it, the server doesn't start up. Permalink to this paragraph

4. Now I'm pretty sure it can be done. Someone must know how to do it. I promise if I figure it out I will leave behind a clear how-to. So if anyone has a clue, please let me know. Scripting News readers are famous for knowing arcania like this. So please show your stuff! ;-> Permalink to this paragraph

A picture named train.gifUpdate: I'm willing to use other HTTP software if its easier to set up reverse proxies, but I am not willing to use IIS. Last time I set one of those up it got horribly hacked. I think it's a target for a lot of kids out there, and you always end up with gremlins hanging out on your servers supporting warez and other strange shit. Rather not mess around with that.  Permalink to this paragraph

By the way: I'm also looking for web app software I can run myself, hopefully simple to install, that takes a JPG and scales it down to 640-by-480 or even smaller. Ideally on Windows, again. Sigh. Even better would be someone else's service, but this is the kind of thing people usually don't want to do for you since it uses machine cycles. Permalink to this paragraph




     

Recent stories:



A picture named dave.jpgDave Winer, 53, pioneered the development of weblogs, syndication (RSS), podcasting, outlining, and web content management software; former contributing editor at Wired Magazine, research fellow at Harvard Law School, entrepreneur, and investor in web media companies. A native New Yorker, he received a Master's in Computer Science from the University of Wisconsin, a Bachelor's in Mathematics from Tulane University and currently lives in Berkeley, California.

"The protoblogger." - NY Times.

"The father of modern-day content distribution." - PC World.

One of BusinessWeek's 25 Most Influential People on the Web.

"Helped popularize blogging, podcasting and RSS." - Time.

"The father of blogging and RSS." - BBC.

"RSS was born in 1997 out of the confluence of Dave Winer's 'Really Simple Syndication' technology, used to push out blog updates, and Netscape's 'Rich Site Summary', which allowed users to create custom Netscape home pages with regularly updated data flows." - Tim O'Reilly.

Dave Winer Mailto icon


My most recent trivia on Twitter.



© Copyright 1994-2008 Dave Winer Mailto icon.

Last update: 12/16/2008; 5:22:12 PM Pacific. "It's even worse than it appears."

Click here to view blogs commenting on  RSS 2.0 feed.