Hello,

I am trying to get the $ENV{USERNAME} with my perl Cgi script. I did some
testing and got the following:

QUERY_STRING - 
SYSTEMROOT - C:\WINNT
SERVER_ADDR - 10.0.24.33
HTTP_ACCEPT_LANGUAGE - en-us
SERVER_PROTOCOL - HTTP/1.1
HTTP_CONNECTION - Keep-Alive
SERVER_SIGNATURE - 
Apache/1.3.24 Server at CPU-2433.mcdss.inhouse Port 80

COMSPEC - C:\WINNT\system32\cmd.exe
HTTP_REFERER - http://beta/ITWEB/CallCenter.html
REMOTE_PORT - 1723
HTTP_ACCEPT - image/gif, image/x-xbitmap, image/jpeg, image/pjpeg,
application/vnd.ms-powerpoint, application/vnd.ms-excel, application/msword,
*/*
HTTP_USER_AGENT - Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0;
T312461; Hotbar 4.1.2.0)
GATEWAY_INTERFACE - CGI/1.1
HTTP_HOST - beta
WINDIR - C:\WINNT
SERVER_SOFTWARE - Apache/1.3.24 (Win32)
SERVER_ADMIN - [EMAIL PROTECTED]
REMOTE_ADDR - 10.0.24.33
SCRIPT_NAME - /cgi-bin/CallCenter/CallCenter/addcall.pl
HTTP_ACCEPT_ENCODING - gzip, deflate
SERVER_NAME - CPU-2433.mcdss.inhouse
DOCUMENT_ROOT - c:/web/html
REQUEST_URI - /cgi-bin/CallCenter/CallCenter/addcall.pl
REQUEST_METHOD - GET
SCRIPT_FILENAME - c:/web/cgi-bin/callcenter/callcenter/addcall.pl
PATH -
C:\Perl\bin\;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;c:\mysql\bin;
c:\vim;c:\wbin;C:\Program
Files\Symantec\pcAnywhere\;c:\PROGRA~1\APACHE~1\Apache2\bin\;C:\PROGRA~1\CA\
Common\SCANEN~1;C:\PROGRA~1\CA\eTrust\INOCUL~1;c:\perl\bin;C:\PROGRA~1\Disti
nct;C:\PROGRA~1\COMMON~1\DISTIN~1;C:\MSSQL7\BINN
SERVER_PORT - 80

Notice:  there is not AUTH_USER OR USERNAME.  

What am I doing wrong.  Do I need to change something in Apache
configuration?

Thanks.

_______________________________________________
Perl-Win32-Web mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to