The user should not have to log in twice if you use the same AuthName (Realm)
in both .htaccess files.

On 19-Jun-2000 Wang, Pin-Chieh wrote:
> Hi,
> Is there any way to obtain user login name from perl if I put .htaccess
> under /usr/local/apache/htdocs/restricted and put my cgi/perl script under
> cgi-bin with no restriction. The reason I put no restriction for cgi-bin is
> to avoid user to login twice so I only place restriction under
> htdocs/restricted directory. ( but I lost  "remote_user"  environmental
> variable).
> I could get "remote_user" if I put the restriction on both cgi-bin and
> htdocs/restricted, but user has to login twice.
> 
> Thanks
> PC Wang

-- 
Jason Bodnar + [EMAIL PROTECTED] + Team Linux

Six simple words: I'm not gay, but I'll learn.

                -- Homer Simpson
                   I Love Lisa

Reply via email to