]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
remove "support" for Remote_User variable, which never worked at all.
authorAndré Malo <nd@apache.org>
Thu, 19 Aug 2004 23:33:22 +0000 (23:33 +0000)
committerAndré Malo <nd@apache.org>
Thu, 19 Aug 2004 23:33:22 +0000 (23:33 +0000)
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

src/modules/standard/mod_setenvif.c

index f4174a119a5e97374df86ed3329a631c6456c586..27ac8473b46b947d51f748c090946c6ad5aaf0ae 100644 (file)
@@ -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;