httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Koga Youichirou <y-k...@apache.or.jp>
Subject proxy request handling bug?
Date Mon, 22 Jul 2002 04:14:52 GMT
I found that 1.3.26 and 2.0.39 without mod_proxy accept proxy requests
and treat them as requsts to its URIs.

Is this behavior right?

eg)
(request)
GET http://some.where/cgi-bin/printenv HTTP/1.1
Host: some.where

(response)
HTTP/1.1 200 OK
Date: Mon, 22 Jul 2002 04:06:20 GMT
Server: Apache/2.0.39 (Unix)
Transfer-Encoding: chunked
Content-Type: text/plain; charset=ISO-8859-1

247
DOCUMENT_ROOT="/usr/local/apache2/htdocs"
GATEWAY_INTERFACE="CGI/1.1"
HTTP_HOST="some.where"
PATH="(some paths...)"
QUERY_STRING=""
REMOTE_ADDR="(client's IP address)"
REMOTE_PORT="(client's source port)"
REQUEST_METHOD="GET"
REQUEST_URI="http://some.where/cgi-bin/printenv"
SCRIPT_FILENAME="/usr/local/apache2/cgi-bin/printenv"
SCRIPT_NAME="/cgi-bin/printenv"
SERVER_ADDR="(server's IP address)"
SERVER_ADMIN="www@my.domain"
SERVER_NAME="some.where"
SERVER_PORT="80"
SERVER_PROTOCOL="HTTP/1.1"
SERVER_SIGNATURE=""
SERVER_SOFTWARE="Apache/2.0.39 (Unix)"

0

-- Koga, Youichirou

Mime
View raw message