This is a discussion on How to retrieve $ENV{REMOTE_USER} when connecting to apache server within the Apache Web Server forums, part of the Web Server and Related Forums category; Hi, I need it for knowing which Windows user is connecting to the apache server, that is installed on Suse ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hi,
I need it for knowing which Windows user is connecting to the apache server, that is installed on Suse OS. I can't retrieve the environment variable $ENV{REMOTE_USER} in my perl/ cgi script, when connecting to the server from IE browser on Windows. The value being returned is a null text "". I know that in some servers it is working, but in my server it does not. Can you please tell me how to configure my server so it will work. Thanks a lot |
|
|||
|
CS student <israelaix@hotmail.com> wrote in news:1189431875.266027.317950
@r29g2000hsg.googlegroups.com: > Hi, > > I need it for knowing which Windows user is connecting to the apache > server, that is installed on Suse OS. > > I can't retrieve the environment variable $ENV{REMOTE_USER} in my perl/ > cgi script, when connecting to the server from IE browser on Windows. > > The value being returned is a null text "". > > I know that in some servers it is working, but in my server it does > not. > > Can you please tell me how to configure my server so it will work. > > Thanks a lot > > REMOTE_USER is only set if access authentication is turned on. See if $ENV(REMOTE_HOST) works for you if you are not using authentication. ----== Posted via Newsfeeds.Com - Unlimited-Unrestricted-Secure Usenet News==---- http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+ Newsgroups ----= East and West-Coast Server Farms - Total Privacy via Encryption =---- |
|
|||
|
Hi,
Without using authentication, i can see: REMOTE_ADDR and REMOTE_PORT Is there a way to know the REMOTE_USER without using authentication? I'm asking since i'm not interested in the user's password, and i don't want to maintain users DB/lists for authentication due to overhead. Thanks a lot Mark Taylor wrote: > CS student <israelaix@hotmail.com> wrote in news:1189431875.266027.317950 > @r29g2000hsg.googlegroups.com: > > > Hi, > > > > I need it for knowing which Windows user is connecting to the apache > > server, that is installed on Suse OS. > > > > I can't retrieve the environment variable $ENV{REMOTE_USER} in my perl/ > > cgi script, when connecting to the server from IE browser on Windows. > > > > The value being returned is a null text "". > > > > I know that in some servers it is working, but in my server it does > > not. > > > > Can you please tell me how to configure my server so it will work. > > > > Thanks a lot > > > > > > REMOTE_USER is only set if access authentication is turned on. > > See if $ENV(REMOTE_HOST) works for you if you are not using authentication. > > > > > > ----== Posted via Newsfeeds.Com - Unlimited-Unrestricted-Secure Usenet News==---- > http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+ Newsgroups > ----= East and West-Coast Server Farms - Total Privacy via Encryption =---- |
|
|||
|
CS student <israelaix@hotmail.com> wrote in
news:1189501680.238433.111030@g4g2000hsf.googlegro ups.com: > Hi, > Without using authentication, i can see: REMOTE_ADDR and REMOTE_PORT > Is there a way to know the REMOTE_USER without using authentication? > I'm asking since i'm not interested in the user's password, and i > don't want to maintain users DB/lists for authentication due to > overhead. > > Thanks a lot > > Mark Taylor wrote: >> CS student <israelaix@hotmail.com> wrote in >> news:1189431875.266027.317950 @r29g2000hsg.googlegroups.com: >> >> > Hi, >> > >> > I need it for knowing which Windows user is connecting to the >> > apache server, that is installed on Suse OS. >> > >> > I can't retrieve the environment variable $ENV{REMOTE_USER} in my >> > perl/ cgi script, when connecting to the server from IE browser on >> > Windows. >> > >> > The value being returned is a null text "". >> > >> > I know that in some servers it is working, but in my server it does >> > not. >> > >> > Can you please tell me how to configure my server so it will work. >> > >> > Thanks a lot >> > >> > >> >> REMOTE_USER is only set if access authentication is turned on. >> >> See if $ENV(REMOTE_HOST) works for you if you are not using >> authentication. >> >> >> >> >> >> ----== Posted via Newsfeeds.Com - Unlimited-Unrestricted-Secure >> Usenet News==---- http://www.newsfeeds.com The #1 Newsgroup Service >> in the World! 120,000+ Newsgroups ----= East and West-Coast Server >> Farms - Total Privacy via Encryption =---- > > No. It is the authentication module that sets REMOTE_USER. You must use authentication to see it. -- ----== Posted via Newsfeeds.Com - Unlimited-Unrestricted-Secure Usenet News==---- http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+ Newsgroups ----= East and West-Coast Server Farms - Total Privacy via Encryption =---- |
|
|||
|
"Mark" <mtaylor*@*lrim.com> schreef in bericht
news:1189515874_3681@sp6iad.superfeed.net... > CS student <israelaix@hotmail.com> wrote in > news:1189501680.238433.111030@g4g2000hsf.googlegro ups.com: >>> > I can't retrieve the environment variable $ENV{REMOTE_USER} in my >>> > perl/ cgi script, when connecting to the server from IE browser on >>> > Windows. >>> REMOTE_USER is only set if access authentication is turned on. >>> Unsure about your platform and networkt, still try your luck at http://modntlm.sourceforge.net/. HansH |