You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2003/05/19 16:37:21 UTC
DO NOT REPLY [Bug 20036] New: -
Trailing Dots stripped from PATH_INFO environment variable
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=20036>.
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=20036
Trailing Dots stripped from PATH_INFO environment variable
Summary: Trailing Dots stripped from PATH_INFO environment
variable
Product: Apache httpd-2.0
Version: 2.0.45
Platform: PC
URL: Behind Firewall - see description
OS/Version: Windows NT/2K
Status: NEW
Severity: Normal
Priority: Other
Component: mod_cgi
AssignedTo: bugs@httpd.apache.org
ReportedBy: corquinn@us.ibm.com
On Windows Apache is stipping off trailing dots from the PATH_INFO Environment
Variable. Our CGI-Application is expecting a complete path and is getting only
a partial path as it is missing the last dot. The URL works on our Host
systems without problem. We have not tested this on AIX or Linux to see if the
problem exists there as well. I have copied the URL and subsequent Environment
Variables below for reference for both our Windows and MVS systems.
Unfortunately both URLs are behind a firewall so may not be accessible to you.
Feel free to query me for any additional information needed.
Thanks,
Corey Quinn
Software Engineer
Bookmanager Products - IBM
Windows URL (windows NT 4.0 running Apache 2.0.45, problem also exists on
Windows 2000 running Apache 2.0.40):
http://klinecor.raleigh.ibm.com/cgi-bin/bookmgr/bookmgr.exe/BOOKS/TEMPLWP2/1.2.?
DT=20030515114849
Environment Variable Dump:
******************************************************
Debug log for CGI invocation: Mon May 19 09:58:20 2003
argv[0]=C:\Program Files\Apache Group\Apache2\cgi-bin\bookmgr\bookmgr.exe,
cw0=C:\Program Files\Apache Group\Apache2\cgi-bin\bookmgr\, cwd=C:\PROGRA~1
\APACHE~1\Apache2\cgi-bin\bookmgr\
******************************************************
*********************
Environment variables
*********************
SERVER_SOFTWARE=Apache/2.0.45 (Win32)
SERVER_NAME=klinecor.raleigh.ibm.com
GATEWAY_INTERFACE=CGI/1.1
SERVER_PROTOCOL=HTTP/1.1
SERVER_PORT=80
REQUEST_METHOD=GET
HTTP_ACCEPT=image/gif, image/x-xbitmap, image/jpeg, image/pjpeg,
application/vnd.ms-powerpoint, application/vnd.ms-excel, application/msword,
application/x-quickviewplus, */*
HTTP_HOST=klinecor.raleigh.ibm.com
HTTP_USER_AGENT=Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 4.0)
HTTPS=
PATH_INFO=/BOOKS/TEMPLWP2/1.2
PATH_TRANSLATED=C:\Program Files\Apache Group\Apache2\htdocs\BOOKS\TEMPLWP2\1.2
SCRIPT_NAME=/cgi-bin/bookmgr/bookmgr.exe/BOOKS/TEMPLWP2/1.2.
QUERY_STRING=DT=20030515114849
REMOTE_HOST=
REMOTE_ADDR=9.27.13.19
REMOTE_USER=
AUTH_TYPE=
CONTENT_TYPE=
CONTENT_LENGTH=
MVS URL (Host z/OS V1R2 system running IBM HTTP Server):
http://ctfmvs14.raleigh.ibm.com:3080/bookmgr-cgi/EPHBOOKT/BOOKS/TEMPLWP2/1.2.?
DT=20030515114849
Environment Variable dump for Host System:
******************************************************
Debug log for CGI invocation: Mon May 19 10:00:59 2003
argv[0]=/u/booksrv/dev/cgi-bin/EPHBOOKT, cw0=/u/booksrv/dev/cgi-bin/,
cwd=/u/booksrv/dev/cgi-bin/
******************************************************
*********************
Environment variables
*********************
SERVER_SOFTWARE=IBM HTTP Server/V5R3M0
SERVER_NAME=CTFMVS14.raleigh.ibm.com
GATEWAY_INTERFACE=CGI/1.1
SERVER_PROTOCOL=HTTP/1.1
SERVER_PORT=3080
REQUEST_METHOD=GET
HTTP_ACCEPT=image/gif, image/x-xbitmap, image/jpeg, image/pjpeg,
application/vnd.ms-powerpoint, application/vnd.ms-excel, application/msword,
application/x-quickviewplus, */*
HTTP_HOST=ctfmvs14.raleigh.ibm.com
HTTP_USER_AGENT=Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 4.0)
HTTPS=OFF
PATH_INFO=/BOOKS/TEMPLWP2/1.2.
PATH_TRANSLATED=/usr/lpp/internet/server_root/pub/BOOKS/TEMPLWP2/1.2.
SCRIPT_NAME=/bookmgr-cgi/EPHBOOKT
QUERY_STRING=DT=20030515114849
REMOTE_HOST=
REMOTE_ADDR=9.27.13.19
REMOTE_USER=
AUTH_TYPE=
CONTENT_TYPE=
CONTENT_LENGTH=
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org