Received: by taz.hyperreal.com (8.8.3/V2.0) id KAA18191; Fri, 10 Jan 1997 10:40:22 -0800 (PST) Received: from mail1.bellglobal.com by taz.hyperreal.com (8.8.3/V2.0) with ESMTP id KAA18183; Fri, 10 Jan 1997 10:40:17 -0800 (PST) From: rasmus@mail1.bellglobal.com Received: from inet-dev ([199.243.250.207]) by mail1.bellglobal.com (Netscape Mail Server v2.02) with SMTP id AAA9968 for ; Fri, 10 Jan 1997 13:38:42 -0500 Date: Fri, 10 Jan 1997 13:41:02 -0500 (EST) Subject: ApacheWeek is killing me! To: new-httpd@hyperreal.com Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; CHARSET=US-ASCII Sender: new-httpd-owner@apache.org Precedence: bulk Reply-To: new-httpd@hyperreal.com I've been flooded with complaints about the fact that the "ibm" -> "www.ibm.com" proxy patch I contributed doesn't patch cleanly into 1.2b4. It actually does patch cleanly, but I suspect people are cutting and pasting it from their browser window and then run patch without -l. I'll fix up the patch and add some helpful hints, but I can see this being an ongoing and everlasting problem. I'm tempted to remove my name and email address from the patch, but that would just mean the messages would end up in the bugs mailbox. I don't have a suggested solution for it. I agree that the right place for the patch is in the contrib dir, I just wish there was some way to maintain the patches in the contrib dir without having to fix them every time someone adds a line of code somewhere in any of the files that the patches modify. Anyway, could somebody please replace the netscapehost.patch file in the contrib directory with the following: ===[CUT]=== Here is the ultra-controversial "host" -> "www.host.com" proxy patch. This allows the Apache proxy server to behave the same way Netscape does when given incomplete hostname information; i.e., asked to look for "ibm" instead of "www.ibm.com". Please download this patch by holding down your shift buttong and clicking on the link. If you just copy and paste it from your browser window, you will lose whitespace formatting. You can do this, but then you have to remember to add the "-l" flag when you run patch. The -l argument to patch will tell it to ignore whitespace differences. In order to install this patch, copy this file to your Apache src/modules/proxy directory and type: patch -p1 -l status = 302; ! table_set(r->headers_out, "Location", try); ! send_http_header(r); ! return REDIRECT; ! } ! return proxyerror(r, err); /* give up */ ! } } sock = socket(PF_INET, SOCK_STREAM, IPPROTO_TCP);