теперь понял
egr 09.09.2003 11:44
igored в смысле сейчас, в контексте разговора. Александр, я понимаю, вы очень занятой человек, однако вы бы не могли попонятней объясняться? (или это я тормоз)
Не суть. Я попробовал назначить printenv.pl обработчиком страниц во 2-м парсере, результаты такие:
С Allowoverride none:
COMSPEC="C:\WINNT\system32\cmd.exe"
DOCUMENT_ROOT="E:/Apache/users/extra"
GATEWAY_INTERFACE="CGI/1.1"
HTTP_ACCEPT="text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,video/x-mng,image/png,image/jpeg,image/gif;q=0.2,*/*;q=0.1"
HTTP_ACCEPT_CHARSET="ISO-8859-1,utf-8;q=0.7,*;q=0.7"
HTTP_ACCEPT_ENCODING="gzip,deflate"
HTTP_ACCEPT_LANGUAGE="ru,en;q=0.5"
HTTP_CACHE_CONTROL="max-age=0, max-age=0"
HTTP_CONNECTION="keep-alive"
HTTP_COOKIE="theme=1; auth.uid=192.168.1.130%3DxyarYa8%24BjREyoAG5a7ATjir3RaXj0; auth.uid.updated=2003-09-04%2011%3A56%3A19; auth.sid=192.168.1.130%3DcfEF/du%24fFyna2DAhEIsMGpDi6ojQ0"
HTTP_HOST="extra.slantsy.net:8080"
HTTP_KEEP_ALIVE="300"
HTTP_USER_AGENT="Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5a) Gecko/20030728 Mozilla Firebird/0.6.1"
PATH="D:\Perl\bin\;C:\WINNT\system32;C:\WINNT;;D:\MSSQL\BINN;D:\NTRESKIT;C:\PROGRA~1\cvsnt"
PATH_INFO="/control/index.html"
PATH_TRANSLATED="E:\Apache\users\extra\control\index.html"
QUERY_STRING=""
REDIRECT_CGI_PARSER_CONFIG="e:/apache/cgi-bin/p3/extra/auto.p"
REDIRECT_STATUS="200"
REDIRECT_URL="/control/index.html"
REMOTE_ADDR="192.168.1.130"
REMOTE_PORT="1058"
REQUEST_METHOD="GET"
REQUEST_URI="/control/"
SCRIPT_FILENAME="E:/Apache/cgi-bin/p3/printenv.pl"
SCRIPT_NAME="/cgi-bin/p3/printenv.pl"
SERVER_ADDR="192.168.1.71"
SERVER_ADMIN="egr@slantsy.ru"
SERVER_NAME="extra.slantsy.net"
SERVER_PORT="80"
SERVER_PROTOCOL="HTTP/1.1"
SERVER_SIGNATURE="<address>Apache/2.0.47 (Win32) Server at extra.slantsy.net Port 80</address>\n"
SERVER_SOFTWARE="Apache/2.0.47 (Win32)"
SYSTEMROOT="C:\WINNT"
WINDIR="C:\WINNT"
т.е. переменной REMOTE_USER или аналогичной ей нет.
С AllowOverride AuthConfig:
AUTH_TYPE="Basic"
COMSPEC="C:\WINNT\system32\cmd.exe"
DOCUMENT_ROOT="E:/Apache/users/extra"
GATEWAY_INTERFACE="CGI/1.1"
HTTP_ACCEPT="text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,video/x-mng,image/png,image/jpeg,image/gif;q=0.2,*/*;q=0.1"
HTTP_ACCEPT_CHARSET="ISO-8859-1,utf-8;q=0.7,*;q=0.7"
HTTP_ACCEPT_ENCODING="gzip,deflate"
HTTP_ACCEPT_LANGUAGE="ru,en;q=0.5"
HTTP_CACHE_CONTROL="max-age=0, max-age=0"
HTTP_CONNECTION="keep-alive"
HTTP_COOKIE="theme=1; auth.uid=192.168.1.130%3DxyarYa8%24BjREyoAG5a7ATjir3RaXj0; auth.uid.updated=2003-09-04%2011%3A56%3A19; auth.sid=192.168.1.130%3DcfEF/du%24fFyna2DAhEIsMGpDi6ojQ0"
HTTP_HOST="extra.slantsy.net:8080"
HTTP_KEEP_ALIVE="300"
HTTP_USER_AGENT="Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5a) Gecko/20030728 Mozilla Firebird/0.6.1"
PATH="D:\Perl\bin\;C:\WINNT\system32;C:\WINNT;;D:\MSSQL\BINN;D:\NTRESKIT;C:\PROGRA~1\cvsnt"
PATH_INFO="/control/index.html"
PATH_TRANSLATED="E:\Apache\users\extra\control\index.html"
QUERY_STRING=""
REDIRECT_CGI_PARSER_CONFIG="e:/apache/cgi-bin/p3/extra/auto.p"
REDIRECT_STATUS="200"
REDIRECT_URL="/control/index.html"
REMOTE_ADDR="192.168.1.130"
REMOTE_PORT="1064"
REMOTE_USER="egr"
REQUEST_METHOD="GET"
REQUEST_URI="/control/"
SCRIPT_FILENAME="E:/Apache/cgi-bin/p3/printenv.pl"
SCRIPT_NAME="/cgi-bin/p3/printenv.pl"
SERVER_ADDR="192.168.1.71"
SERVER_ADMIN="egr@slantsy.ru"
SERVER_NAME="extra.slantsy.net"
SERVER_PORT="80"
SERVER_PROTOCOL="HTTP/1.1"
SERVER_SIGNATURE="<address>Apache/2.0.47 (Win32) Server at extra.slantsy.net Port 80</address>\n"
SERVER_SOFTWARE="Apache/2.0.47 (Win32)"
SYSTEMROOT="C:\WINNT"
WINDIR="C:\WINNT"
Все нормально, нужная переменная имеется