Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 12557 invoked from network); 1 Dec 2005 16:53:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 1 Dec 2005 16:53:50 -0000 Received: (qmail 97213 invoked by uid 500); 1 Dec 2005 16:53:36 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 97200 invoked by uid 500); 1 Dec 2005 16:53:35 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 97189 invoked by uid 99); 1 Dec 2005 16:53:35 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Dec 2005 08:53:35 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of brianwc@berkeley.edu designates 128.32.61.106 as permitted sender) Received: from [128.32.61.106] (HELO mailfarm.berkeley.edu) (128.32.61.106) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Dec 2005 08:55:02 -0800 Received: from boalt-wlan-357.airbears.berkeley.edu ([136.152.177.111]) by calmail-fe4.berkeley.edu with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.54) (auth plain:brianwc@berkeley.edu) (envelope-from ) id 1EhrfY-00037l-G3 for users@httpd.apache.org; Thu, 01 Dec 2005 08:52:29 -0800 Message-ID: <438F2A7A.1020801@berkeley.edu> Date: Thu, 01 Dec 2005 08:53:14 -0800 From: Brian C User-Agent: Thunderbird 1.4 (Macintosh/20050908) MIME-Version: 1.0 To: users@httpd.apache.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Subject: [users@httpd] User Authentication through Proxy Errors X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi, With prior help from the list I set up Apache 2.0.53 on SUSE (call it oldserver) to proxy requests through to another Apache server on my network (running 1.3.33 on Debian, call it newserver). The relevant part of the oldserver's config looks like: ServerName www.newwebsite.com ProxyPass / http://192.168.0.9/ ProxyPassReverse / http://192.168.0.9/ and the same for newwebsite.com (without the 'www') I also had to edit /etc/sysconfig/apache2 and find the line that says APACHE_MODULES="blah blah blah" and add "proxy" and "proxy_http" to the list of modules. This allows me to get to index.html on the newserver by going to newwebsite.com in a browser. However, the rest of newserver's pages require user authentication and any attempt to go to such a page, instead of bringing up a user/password pop-up box, yields the following error: Proxy Error The proxy server received an invalid response from an upstream server. The proxy server could not handle the request GET /dirname. Reason: DNS lookup failure for: 192.168.0.9dirname Additionally, a 502 Bad Gateway error was encountered while trying to use an ErrorDocument to handle the request. Apache/2.0.53 (Linux/SUSE) Server at newwebsite.com Port 80 newserver's error_log produces the following: [Thu Dec 01 08:50:53 2005] [error] [client 1.1.1.1] proxy: DNS lookup failure for: 192.168.0.9dirname returned by /dirname [Thu Dec 01 08:50:54 2005] [error] [client 1.1.1.1] proxy: DNS lookup failure for: 192.168.0.9error returned by /error/HTTP_BAD_GATEWAY.html.var [Thu Dec 01 08:50:54 2005] [error] [client 1.1.1.1] proxy: DNS lookup failure for: 192.168.0.9favicon.ico returned by /favicon.ico [Thu Dec 01 08:50:55 2005] [error] [client 1.1.1.1] proxy: DNS lookup failure for: 192.168.0.9error returned by /error/HTTP_BAD_GATEWAY.html.var Any thoughts on how to get the rest of newserver's web pages to proxy through properly? --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org