From: dgaudet Date: Sun, 15 Mar 1998 21:39:50 +0000 (+0000) Subject: - The "merging" optimization in mod_setenvif did not deal with X-Git-Tag: APACHE_BIG_SYMBOL_RENAME_POST~22 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=52733e3bc55b2e2a3e33d9e1c1907e50acb848ea;p=thirdparty%2Fapache%2Fhttpd.git - The "merging" optimization in mod_setenvif did not deal with SetEnvIfNoCase properly; and it used strcmp() to compare header names when it should use strcasecmp(). - Change the merging optimization so that it only considers the most recent setenvif for merging. This means that mod_setenvif will consider all directives in the order they appear in the config file. - Document that mod_setenvif considers directives in the order they appear, and give an example use. - Perform more comparisons at compile-time in order to speed up things at compile-time. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@80545 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/mod/mod_setenvif.html b/docs/manual/mod/mod_setenvif.html index cb80be0e38a..46a91d5db85 100644 --- a/docs/manual/mod/mod_setenvif.html +++ b/docs/manual/mod/mod_setenvif.html @@ -26,6 +26,16 @@ regular expressions you specify. These envariables can be used by other parts of the server to make decisions about actions to be taken.

+

The directives are considered in the order they appear in the + configuration files. So more complex sequences can be used, such + as this example, which sets netscape if the browser + is mozilla but not MSIE. +

+  BrowserMatch ^Mozilla netscape
+  BrowserMatch MSIE !netscape
+  
+

+

Directives