Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: $ENV{'REMOTE_USER'}

by hatter (Pilgrim)
on May 01, 2002 at 12:16 UTC ( #163246=note: print w/replies, xml ) Need Help??


in reply to $ENV{'REMOTE_USER'}

Another gotcha that's worth investigating - if /home/foo/public_html/mumble has .htaccess in it, but your script runs under a ScriptAlias (from /home/foo/cgi-bin for example) then it won't need or send the REMOTE_USER details. Try (from a freshly opened browser) going straight to the scripts URL and see if it asks for authentication - if it doesn't, then it's not protected by the scheme that protects the form that leads to it.

the hatter

Replies are listed 'Best First'.
Re^2: $ENV{'REMOTE_USER'}
by Anonymous Monk on Jul 15, 2016 at 23:41 UTC
    I am facing the same problem, actually it is described here. It turned out that variables are prefixed with REDIRECT_ prefix (check here for the answer) after applying RewriteRule.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://163246]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (5)
As of 2017-11-22 05:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (315 votes). Check out past polls.

    Notices?