From: André Malo Date: Thu, 19 Aug 2004 23:33:22 +0000 (+0000) Subject: remove "support" for Remote_User variable, which never worked at all. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fb5b7191428891c3e41630bcd05a98ae1fd3000f;p=thirdparty%2Fapache%2Fhttpd.git remove "support" for Remote_User variable, which never worked at all. PR: 25725 Reviewed by: Justin Erenkrantz, Paul Querna git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@104737 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/src/modules/standard/mod_setenvif.c b/src/modules/standard/mod_setenvif.c index f4174a119a5..27ac8473b46 100644 --- a/src/modules/standard/mod_setenvif.c +++ b/src/modules/standard/mod_setenvif.c @@ -52,7 +52,6 @@ * (analogous to SERVER_ADDR set in ap_add_common_vars()) * remote_host Remote host name (if available) * remote_addr Remote IP address - * remote_user Remote authenticated user (if any) * request_method Request method (GET, POST, etc) * request_uri Requested URI * @@ -83,7 +82,6 @@ enum special { SPECIAL_NOT, SPECIAL_REMOTE_ADDR, SPECIAL_REMOTE_HOST, - SPECIAL_REMOTE_USER, SPECIAL_REQUEST_URI, SPECIAL_REQUEST_METHOD, SPECIAL_REQUEST_PROTOCOL, @@ -227,9 +225,6 @@ static const char *add_setenvif_core(cmd_parms *cmd, void *mconfig, else if (!strcasecmp(fname, "remote_host")) { new->special_type = SPECIAL_REMOTE_HOST; } - else if (!strcasecmp(fname, "remote_user")) { - new->special_type = SPECIAL_REMOTE_USER; - } else if (!strcasecmp(fname, "request_uri")) { new->special_type = SPECIAL_REQUEST_URI; } @@ -367,9 +362,6 @@ static int match_headers(request_rec *r) val = ap_get_remote_host(r->connection, r->per_dir_config, REMOTE_NAME); break; - case SPECIAL_REMOTE_USER: - val = r->connection->user; - break; case SPECIAL_REQUEST_URI: val = r->uri; break;