]> granicus.if.org Git - apache/commitdiff
remove support for Remote_User variable, which never worked at all.
authorAndré Malo <nd@apache.org>
Sat, 21 Feb 2004 18:28:30 +0000 (18:28 +0000)
committerAndré Malo <nd@apache.org>
Sat, 21 Feb 2004 18:28:30 +0000 (18:28 +0000)
PR: 25725

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102734 13f79535-47bb-0310-9956-ffa450edef68

CHANGES
docs/manual/mod/mod_setenvif.html.en
docs/manual/mod/mod_setenvif.html.ja.jis
docs/manual/mod/mod_setenvif.xml
docs/manual/mod/mod_setenvif.xml.ja
modules/metadata/mod_setenvif.c

diff --git a/CHANGES b/CHANGES
index 8ac9be07e3e2351ee53e3dc88968f2c0a803853d..b4858ae16bafb2cb18e6b62f88285d6dcf8a7302 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -2,6 +2,9 @@ Changes with Apache 2.1.0-dev
 
   [Remove entries to the current 2.0 section below, when backported]
 
+  *) mod_setenvif: Remove "support" for Remote_User variable which
+     never worked at all. PR 25725.  [André Malo]
+
   *) minor mod_auth_basic and mod_auth_digest sync.  mod_auth_basic
      now populates r->user with the (possibly unauthenticated) user,
      and mod_auth_digest returns 500 when a provider returns
index f6e4d85739a6531a0f33072b0df50283fefcbcb9..558bc44cc74b65fe0531e696b8942c53a0bc6fe0 100644 (file)
@@ -162,9 +162,6 @@ respect to case</td></tr>
       on which the request was received (only with versions later
       than 2.0.43)</li>
 
-      <li><code>Remote_User</code> - the authenticated username (if
-      available)</li>
-
       <li><code>Request_Method</code> - the name of the method
       being used (<code>GET</code>, <code>POST</code>, <em>et
       cetera</em>)</li>
index f8217a1d0d4e10f5d75d83eeae63c813ea2db3e5..3935131ffca7f9a020fb6dad5790be5360eb7b5b 100644 (file)
       \e$B%j%/%(%9%H$r<u$1<h$C$?%5!<%P$N\e(B IP \e$B%"%I%l%9\e(B
       (2.0.43 \e$B0J9_$N$_\e(B)</li>
 
-      <li><code>Remote_User</code> -
-      \e$BG'>Z$5$l$?%f!<%6L>\e(B (\e$B$b$7$"$l$P\e(B)</li>
-
       <li><code>Request_Method</code> -
       \e$B;HMQ$5$l$F$$$k%a%=%C%IL>\e(B (<code>GET</code>, <code>POST</code>
       <em>\e$B$J$I\e(B</em>)</li>
       <li><code><em>varname</em>=<em>value</em></code></li>
     </ol>
 
-    <p>\e$B$N$I$l$+$N7A<0$K$J$j$^$9!#\e(B</p>
+    <p>\e$B$N$I$l$+$N7A<0$K$J$j$^\e(B\e$B$9!#\e(B</p>
 
     <p>\e$B:G=i$N7A<0$G$O!"CM$O\e(B "1" \e$B$K@_Dj$5$l$^$9!#\e(B
     \e$BFs$DL\$O$b$7CM$,Dj5A$5$l$F$$$l$P$=$l$r<h$j=|$-$^$9!#\e(B
index cd6d0cfc6ad98cf505422514f87656365206543a..0a1b365a8daaaf1f74fdebeba856a0e95f3b0c09 100644 (file)
@@ -156,9 +156,6 @@ respect to case</description>
       on which the request was received (only with versions later
       than 2.0.43)</li>
 
-      <li><code>Remote_User</code> - the authenticated username (if
-      available)</li>
-
       <li><code>Request_Method</code> - the name of the method
       being used (<code>GET</code>, <code>POST</code>, <em>et
       cetera</em>)</li>
index c5e481a0179bcf6c6b6b112bf256d24c023fd739..ff8e129cd213dc0592da38b9bb7f7c6d9b53f5d2 100644 (file)
       \e$B%j%/%(%9%H$r<u$1<h$C$?%5!<%P$N\e(B IP \e$B%"%I%l%9\e(B
       (2.0.43 \e$B0J9_$N$_\e(B)</li>
 
-      <li><code>Remote_User</code> -
-      \e$BG'>Z$5$l$?%f!<%6L>\e(B (\e$B$b$7$"$l$P\e(B)</li>
-
       <li><code>Request_Method</code> -
       \e$B;HMQ$5$l$F$$$k%a%=%C%IL>\e(B (<code>GET</code>, <code>POST</code>
       <em>\e$B$J$I\e(B</em>)</li>
index 2f19d7c96f6244bbb040b6cd17b9eb931daa6254..78eb5c76d64b641426c33f27d9090a63ee49db4a 100644 (file)
@@ -53,7 +53,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
  *
@@ -99,7 +98,6 @@ enum special {
     SPECIAL_NOT,
     SPECIAL_REMOTE_ADDR,
     SPECIAL_REMOTE_HOST,
-    SPECIAL_REMOTE_USER,
     SPECIAL_REQUEST_URI,
     SPECIAL_REQUEST_METHOD,
     SPECIAL_REQUEST_PROTOCOL,
@@ -333,9 +331,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;
         }
@@ -492,9 +487,6 @@ static int match_headers(request_rec *r)
                 val =  ap_get_remote_host(r->connection, r->per_dir_config,
                                           REMOTE_NAME, NULL);
                 break;
-            case SPECIAL_REMOTE_USER:
-                val = r->user;
-                break;
             case SPECIAL_REQUEST_URI:
                 val = r->uri;
                 break;