Return-Path: Delivered-To: apmail-perl-modperl-archive@www.apache.org Received: (qmail 35113 invoked from network); 19 May 2005 21:32:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 19 May 2005 21:32:08 -0000 Received: (qmail 71125 invoked by uid 500); 19 May 2005 21:27:29 -0000 Delivered-To: apmail-perl-modperl-archive@perl.apache.org Received: (qmail 71093 invoked by uid 500); 19 May 2005 21:27:29 -0000 Mailing-List: contact modperl-help@perl.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list modperl@perl.apache.org Received: (qmail 71074 invoked by uid 99); 19 May 2005 21:27:29 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from m1.aasa.com.pe (HELO m1.aasa.com.pe) (200.60.132.68) by apache.org (qpsmtpd/0.28) with ESMTP; Thu, 19 May 2005 14:26:01 -0700 Received: from [172.16.0.92] (lima92.aasa.com.pe [172.16.0.92]) by m1.aasa.com.pe (8.12.8/8.12.8) with ESMTP id j4JLPc8o002265 for ; Thu, 19 May 2005 16:25:38 -0500 Subject: setting REMOTE_USER with Apache::AuthCookie for use on a 2nd server through mod_rewrite From: Rafael Caceres Reply-To: rcaceres@aasa.com.pe To: modperl@perl.apache.org Content-Type: text/plain Organization: Corporacion Aceros Arequipa S.A. Message-Id: <1116537761.3821.92.camel@rcaceres.aasa.com.pe> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 (1.4.6-2) Date: Thu, 19 May 2005 16:22:42 -0500 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi, I need to place an application which requires REMOTE_USER to be set in an external non mod_perl enabled Apache reverse proxy that is called by an internal mod_perl enabled Apache through mod_rewrite. The idea is that a directory in the internal, mod_perl enabled server would have the following config: .. #Set $r->connection->user (REMOTE_USER) PerlFixupHandler Authcookie::Based->recognize_user RewriteEngine on RewriteRule ^/appname http:external.web.server/appname [P] to cause the external app to recognize the user when it executes. Is this possible? Rafael Caceres