perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rafael Caceres <rcace...@aasa.com.pe>
Subject setting REMOTE_USER with Apache::AuthCookie for use on a 2nd server through mod_rewrite
Date Thu, 19 May 2005 21:22:42 GMT
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:

<Directory /a/directory>
..
#Set $r->connection->user (REMOTE_USER)
PerlFixupHandler Authcookie::Based->recognize_user
RewriteEngine on
RewriteRule ^/appname http:external.web.server/appname [P]

</Directory>

to cause the external app to recognize the user when it executes.

Is this possible? 

Rafael Caceres


Mime
View raw message