You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by dg...@hyperreal.org on 1998/03/14 10:43:13 UTC
cvs commit: apache-1.3/conf srm.conf-dist srm.conf-dist-win
dgaudet 98/03/14 01:43:13
Modified: conf srm.conf-dist srm.conf-dist-win
Log:
backslash the .s in the regexes because it's more accurate, and it's
faster.
Note the necessary doubling of the backslashes... that's because of the
change to substring_conf...
Revision Changes Path
1.19 +3 -3 apache-1.3/conf/srm.conf-dist
Index: srm.conf-dist
===================================================================
RCS file: /export/home/cvs/apache-1.3/conf/srm.conf-dist,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -r1.18 -r1.19
--- srm.conf-dist 1998/02/07 12:07:09 1.18
+++ srm.conf-dist 1998/03/14 09:43:11 1.19
@@ -228,6 +228,6 @@
# are in violation of the HTTP/1.0 spec by not being able to grok a
# basic 1.1 response.
-BrowserMatch "RealPlayer 4.0" force-response-1.0
-BrowserMatch "Java/1.0" force-response-1.0
-BrowserMatch "JDK/1.0" force-response-1.0
+BrowserMatch "RealPlayer 4\.0" force-response-1.0
+BrowserMatch "Java/1\.0" force-response-1.0
+BrowserMatch "JDK/1\.0" force-response-1.0
1.7 +4 -4 apache-1.3/conf/srm.conf-dist-win
Index: srm.conf-dist-win
===================================================================
RCS file: /export/home/cvs/apache-1.3/conf/srm.conf-dist-win,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- srm.conf-dist-win 1998/02/07 12:07:10 1.6
+++ srm.conf-dist-win 1998/03/14 09:43:12 1.7
@@ -226,12 +226,12 @@
# support keepalive when it is used on 301 or 302 (redirect) responses.
BrowserMatch "Mozilla/2" nokeepalive
-BrowserMatch "MSIE 4\.0b2;" nokeepalive downgrade-1.0 force-response-1.0
+BrowserMatch "MSIE 4\\.0b2;" nokeepalive downgrade-1.0 force-response-1.0
# The following directive disables HTTP/1.1 responses to browsers which
# are in violation of the HTTP/1.0 spec by not being able to grok a
# basic 1.1 response.
-BrowserMatch "RealPlayer 4.0" force-response-1.0
-BrowserMatch "Java/1.0" force-response-1.0
-BrowserMatch "JDK/1.0" force-response-1.0
+BrowserMatch "RealPlayer 4\\.0" force-response-1.0
+BrowserMatch "Java/1\\.0" force-response-1.0
+BrowserMatch "JDK/1\\.0" force-response-1.0
Re: cvs commit: apache-1.3/conf srm.conf-dist srm.conf-dist-win
Posted by Rodent of Unusual Size <Ke...@Golux.Com>.
dgaudet@hyperreal.org wrote:
>
> Note the necessary doubling of the backslashes... that's because of the
> change to substring_conf...
:
> Index: srm.conf-dist
> ===================================================================
:
> -BrowserMatch "RealPlayer 4.0" force-response-1.0
> -BrowserMatch "Java/1.0" force-response-1.0
> -BrowserMatch "JDK/1.0" force-response-1.0
> +BrowserMatch "RealPlayer 4\.0" force-response-1.0
> +BrowserMatch "Java/1\.0" force-response-1.0
> +BrowserMatch "JDK/1\.0" force-response-1.0
What doubling? The others have it, but not this one. I'll fix
it after my CVS update completes..
#ken P-)}
Ken Coar <http://Web.Golux.Com/coar/>
Apache Group member <http://www.apache.org/>
"Apache Server for Dummies" <http://WWW.Dummies.Com/