> Looking at the log 
> files it seems that with Embperl running as a cgi the request 
> is actually a redirect.

That depends on the way you configure Apache, but normaly Apache will make
an internal redirect to call Embperl. I am not quite sure how Apache 2
handles REMOTE_USER on redirects, but normaly it is only set when an
authentication is required. Maybe this is not done for the redirect.

> Is there an option I can give to 
> Embperl or Apache to redirect the REMOTE_USER variable as well?
> 

At the top of your embpcgi.pl add

$ENV{REMOTE_USER} = $ENV_{REDIRECT_REMOTE_USER} ;

But you have to be aware that you then only see the user from the main
request and not from the internal redirect. As you decribed things that is
what you want, but you should keep it in mind.

Gerald



---------------------------------------------------------------------------
Gerald Richter            ecos electronic communication services gmbh
IT-Securitylösungen * Webapplikationen mit Apache/Perl/mod_perl/Embperl

Post:       Tulpenstrasse 5          D-55276 Dienheim b. Mainz
E-Mail:     [EMAIL PROTECTED]          Voice:   +49 6133 939-122
WWW:        http://www.ecos.de/      Fax:     +49 6133 939-333
---------------------------------------------------------------------------
ECOS BB-5000 Firewall- und IT-Security Appliance: www.bb-5000.info
---------------------------------------------------------------------------


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to