www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James Murphy <...@norlight.com>
Subject config/674: Environment variable REMOTE_USER not being set.
Date Wed, 04 Jun 1997 20:10:01 GMT

>Number:         674
>Category:       config
>Synopsis:       Environment variable REMOTE_USER not being set.
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    apache (Apache HTTP Project)
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Wed Jun  4 13:10:01 1997
>Originator:     jjm@norlight.com
>Organization:
apache
>Release:        1.2b11
>Environment:
SunOS weiss 5.5 Generic sun4m sparc SUNW,SPARCstation-5
gcc version 2.7.2
WEB Browser MS-IE 3.02, Win 95
>Description:
 Here is some relevent info....
 
 the .htaccess
 
 AuthUserFile .../dir/.htaccess
 AuthName Company Name
 AuthType Basic
 require valid-user
 
 Our CGI call
 
 
 <FORM ACTION="/cgi-bin/env.cgi" METHOD=POST TARGET=surfer>

The CGI script...
#!/bin/sh

echo Content-type: text/plain
echo

echo CGI/1.0 test script report:
echo

echo argc is $#. argv is "$*" or "$@".
echo

echo SERVER_SOFTWARE = $SERVER_SOFTWARE
echo SERVER_NAME = $SERVER_NAME
echo GATEWAY_INTERFACE = $GATEWAY_INTERFACE
echo SERVER_PROTOCOL = $SERVER_PROTOCOL
echo SERVER_PORT = $SERVER_PORT
echo REQUEST_METHOD = $REQUEST_METHOD
echo HTTP_ACCEPT = "$HTTP_ACCEPT"
echo PATH_INFO = $PATH_INFO
echo PATH_TRANSLATED = $PATH_TRANSLATED
echo SCRIPT_NAME = $SCRIPT_NAME
echo QUERY_STRING = $QUERY_STRING
echo REMOTE_HOST = $REMOTE_HOST
echo REMOTE_ADDR = $REMOTE_ADDR
echo REMOTE_USER = $REMOTE_USER
echo CONTENT_TYPE = $CONTENT_TYPE
echo CONTENT_LENGTH = $CONTENT_LENGTH

 
 and the output...
 
 CGI/1.0 test script report:
 
 argc is 0. argv is  or .
 
 SERVER_SOFTWARE = Apache/1.2b11
 SERVER_NAME = www.server.com
 GATEWAY_INTERFACE = CGI/1.1
 SERVER_PROTOCOL = HTTP/1.0
 SERVER_PORT = 80
 REQUEST_METHOD = POST
 HTTP_ACCEPT = image/gif, image/x-xbitmap, image/jpeg, image/pjpeg,
 application/msword, application/vnd.ms-powerpoint, */*
PATH_INFO =
PATH_TRANSLATED =
SCRIPT_NAME = /cgi-bin/env.cgi
 QUERY_STRING =
 REMOTE_HOST = server.com
 REMOTE_ADDR = 1.1.1.1
 REMOTE_USER =
 CONTENT_TYPE = application/x-www-form-urlencoded
 CONTENT_LENGTH =
>How-To-Repeat:
http://www.norlight.net/View_Stats
user name: test
password: test
>Fix:

>Audit-Trail:
>Unformatted:



Mime
View raw message