You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2003/06/27 17:34:01 UTC
DO NOT REPLY [Bug 21146] New: -
Request variables from Apache are not available in Tomcat
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21146>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21146
Request variables from Apache are not available in Tomcat
Summary: Request variables from Apache are not available in
Tomcat
Product: Tomcat 4
Version: 4.1.24
Platform: PC
OS/Version: Windows NT/2K
Status: NEW
Severity: Normal
Priority: Other
Component: Connector:Coyote JK 2
AssignedTo: tomcat-dev@jakarta.apache.org
ReportedBy: pr3fab@yahoo.com
Certain Request variables are not available to Tomcat, when the request
originates from Apache 2.0. There are also differences depending on the
connector used (jk or jk2). We use a snoop servlet for listing Request info,
headers and additional variables.
with jk
-------
Remote user: <none>
Remote host: <none>
Authorization type: Negotiate
with jk2
-------
Remote user: DOMAIN\admin
Remote host: pc3358e.nt.domain.com
Authorization type: <none>
Full list
Apache 2.0.46 (win32) - Tomcat 4.1.24 (win32) - mod_jk-1.2.4-2.0.46-w32
apache httpd.conf:
---------------------
#
# Configure mode_jk
#
JkWorkersFile C:\Data\Apache\ApacheX0\Tomcat\conf\workers.properties
JkLogFile C:\Data\Apache\ApacheX0\logs\mod_jk.log
JkLogLevel info
JkEnvVar REMOTE_USER NONE
---------------------
snoop results:
Requested URL:
==============
http://tango:16000/public/snoop
Request information:
====================
Request method: GET
Request URI: /public/snoop
Request protocol: HTTP/1.1
Servlet path: /snoop
Path info: <none>
Path translated: <none>
Query string: <none>
Content length: 0
Content type: <none>
Server name: tango
Server port: 16000
Remote user: <none>
Remote address: 10.201.128.161
Remote host: <none>
Authorization type: Negotiate
Character Encoding: <none>
Requested Session Id: <none>
Scheme: http
Request headers:
================
authorization: Negotiate YIIFPgYGKwYBBQUCoIIFMjCCBS6gMD<snip>
content-length: 0
accept-encoding: gzip, deflate
connection: Keep-Alive
host: tango:16000
accept-language: en-gb
user-agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0)
accept: */*
Extra Servlet attributes:
=========================
REMOTE_USER = DOMAIN\admin
Response Information:
=====================
MIME character encoding: ISO-8859-1
Apache 2.0.46 (win32) - Tomcat 4.1.24 (win32) - mod_jk2-2.0.2-2.0.43-w32
Apache 2.0.46 (win32) - Tomcat 4.1.24 (win32) - mod_jk2-2.0.3-dev-2.0.46-w32
jk2.properties:
---------------------
# Set the desired handler list
handler.list=channelSocket,request
request.tomcatAuthentication=false
#
# Override the default port for the socketChannel
channelSocket.port=8019
---------------------
snoop results:
Requested URL:
==============
http://tango:16000/public/snoop
Request information:
====================
Request method: GET
Request URI: /public/snoop
Request protocol: HTTP/1.1
Servlet path: /snoop
Path info: <none>
Path translated: <none>
Query string: <none>
Content length: 0
Content type: <none>
Server name: tango
Server port: 16000
Remote user: DOMAIN\admin
Remote address: 10.201.128.161
Remote host: pc3358e.nt.domain.com
Authorization type: <none>
Character Encoding: <none>
Requested Session Id: <none>
Scheme: http
Request headers:
================
accept: */*
accept-language: en-gb
accept-encoding: gzip, deflate
user-agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0)
host: tango:16000
connection: Keep-Alive
authorization: Negotiate YIIFPgYGKwYBBQUCoIIFMjCCBS6gMD<snip>
content-length: 0
No extra attributes
===================
Response Information:
=====================
MIME character encoding: ISO-8859-1
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org