httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s.@apache.org
Subject svn commit: r1132802 - in /httpd/httpd/trunk/docs/manual: mod/mod_setenvif.xml rewrite/access.xml rewrite/intro.xml rewrite/rewritemap.xml ssl/ssl_faq.xml ssl/ssl_howto.xml vhosts/examples.xml
Date Mon, 06 Jun 2011 22:09:23 GMT
Author: sf
Date: Mon Jun  6 22:09:22 2011
New Revision: 1132802

URL: http://svn.apache.org/viewvc?rev=1132802&view=rev
Log:
purge some useless uses of '.*'

Modified:
    httpd/httpd/trunk/docs/manual/mod/mod_setenvif.xml
    httpd/httpd/trunk/docs/manual/rewrite/access.xml
    httpd/httpd/trunk/docs/manual/rewrite/intro.xml
    httpd/httpd/trunk/docs/manual/rewrite/rewritemap.xml
    httpd/httpd/trunk/docs/manual/ssl/ssl_faq.xml
    httpd/httpd/trunk/docs/manual/ssl/ssl_howto.xml
    httpd/httpd/trunk/docs/manual/vhosts/examples.xml

Modified: httpd/httpd/trunk/docs/manual/mod/mod_setenvif.xml
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/mod/mod_setenvif.xml?rev=1132802&r1=1132801&r2=1132802&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/mod/mod_setenvif.xml (original)
+++ httpd/httpd/trunk/docs/manual/mod/mod_setenvif.xml Mon Jun  6 22:09:22 2011
@@ -231,7 +231,7 @@ of</p>
         :<br />
    SetEnvIf OID("2.16.840.1.113730.1.13") "(.*)" NetscapeComment=$1<br />
         :<br />
-   SetEnvIf ^TS*  ^[a-z].*  HAVE_TS<br />
+   SetEnvIf ^TS  ^[a-z]  HAVE_TS<br />
 </example>
 
     <p>The first three will set the environment variable

Modified: httpd/httpd/trunk/docs/manual/rewrite/access.xml
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/rewrite/access.xml?rev=1132802&r1=1132801&r2=1132802&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/rewrite/access.xml (original)
+++ httpd/httpd/trunk/docs/manual/rewrite/access.xml Mon Jun  6 22:09:22 2011
@@ -282,7 +282,7 @@ RewriteRule ^ %{HTTP_REFERER} [R,L]<br /
 <br />
 RewriteCond %{HTTP_REFERER} !=""<br />
 RewriteCond ${deflector:%{HTTP_REFERER}|NOT-FOUND} !=NOT-FOUND<br />
-RewriteRule ^.* ${deflector:%{HTTP_REFERER}} [R,L]
+RewriteRule ^ ${deflector:%{HTTP_REFERER}} [R,L]
 </example>
 
       <p>The map file lists redirection targets for each referer, or, if

Modified: httpd/httpd/trunk/docs/manual/rewrite/intro.xml
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/rewrite/intro.xml?rev=1132802&r1=1132801&r2=1132802&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/rewrite/intro.xml (original)
+++ httpd/httpd/trunk/docs/manual/rewrite/intro.xml Mon Jun  6 22:09:22 2011
@@ -186,7 +186,7 @@ the beginning of a query string).</p>
 <dt>A full filesystem path to a resource</dt>
 <dd>
 <example>
-RewriteRule ^/games.* /usr/local/games/web
+RewriteRule ^/games /usr/local/games/web
 </example>
 <p>This maps a request to an arbitrary location on your filesystem, much
 like the <directive module="mod_alias">Alias</directive> directive.</p>
@@ -282,7 +282,7 @@ the word "go", you could use:</p>
 <example>
 RewriteCond %{QUERY_STRING} hack<br />
 RewriteCond %{HTTP_COOKIE} !go<br />
-RewriteRule .* - [F]
+RewriteRule . - [F]
 </example>
 <p>Notice that the exclamation mark specifies a negative match, so the rule is only
applied if the cookie does not contain "go".</p>
 

Modified: httpd/httpd/trunk/docs/manual/rewrite/rewritemap.xml
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/rewrite/rewritemap.xml?rev=1132802&r1=1132801&r2=1132802&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/rewrite/rewritemap.xml (original)
+++ httpd/httpd/trunk/docs/manual/rewrite/rewritemap.xml Mon Jun  6 22:09:22 2011
@@ -324,7 +324,7 @@ by many requests.
 
     <example><title>Redirect a URI to an all-lowercase version of itself</title>
     RewriteMap lc int:tolower<br />
-    RewriteRule (.*[A-Z]+.*) ${lc:$1} [R]
+    RewriteRule (.*?[A-Z]+.*) ${lc:$1} [R]
     </example>
 
     <note>

Modified: httpd/httpd/trunk/docs/manual/ssl/ssl_faq.xml
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/ssl/ssl_faq.xml?rev=1132802&r1=1132801&r2=1132802&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/ssl/ssl_faq.xml (original)
+++ httpd/httpd/trunk/docs/manual/ssl/ssl_faq.xml Mon Jun  6 22:09:22 2011
@@ -676,7 +676,8 @@ Does this mean the username/password is 
 </section>
 
 <section id="msie"><title>Why do I get I/O errors when connecting via 
-HTTPS to an Apache+mod_ssl server with Microsoft Internet Explorer (MSIE)?</title>
+HTTPS to an Apache+mod_ssl server with older versions of Microsoft Internet
+Explorer (MSIE)?</title>
 <p>The first reason is that the SSL implementation in some MSIE versions has
     some subtle bugs related to the HTTP keep-alive facility and the SSL close
     notify alerts on socket connection close. Additionally the interaction
@@ -686,7 +687,7 @@ HTTPS to an Apache+mod_ssl server with M
     This can be done by using the following directive in your SSL-aware 
     virtual host section:</p>
     <example>
-    SetEnvIf User-Agent ".*MSIE.*" \<br />
+    SetEnvIf User-Agent "MSIE [2-5]" \<br />
              nokeepalive ssl-unclean-shutdown \<br />
              downgrade-1.0 force-response-1.0
     </example>

Modified: httpd/httpd/trunk/docs/manual/ssl/ssl_howto.xml
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/ssl/ssl_howto.xml?rev=1132802&r1=1132801&r2=1132802&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/ssl/ssl_howto.xml (original)
+++ httpd/httpd/trunk/docs/manual/ssl/ssl_howto.xml Mon Jun  6 22:09:22 2011
@@ -260,7 +260,7 @@ SSLRequire           %{SSL_CIPHER_USEKEY
 RewriteEngine        on
 RewriteCond          %{REMOTE_ADDR} !^192\.168\.1\.[0-9]+$
 RewriteCond          %{HTTPS} !=on
-RewriteRule          .* - [F]
+RewriteRule          . - [F]
 
 #   Allow Network Access and/or Basic Auth
 Satisfy              any

Modified: httpd/httpd/trunk/docs/manual/vhosts/examples.xml
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/vhosts/examples.xml?rev=1132802&r1=1132801&r2=1132802&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/vhosts/examples.xml (original)
+++ httpd/httpd/trunk/docs/manual/vhosts/examples.xml Mon Jun  6 22:09:22 2011
@@ -562,7 +562,7 @@
         # primary vhost<br />
         DocumentRoot /www/subdomain<br />
         RewriteEngine On<br />
-        RewriteRule ^/.* /www/subdomain/index.html<br />
+        RewriteRule . /www/subdomain/index.html<br />
         # ...<br />
     </indent>
     &lt;/VirtualHost&gt;<br />



Mime
View raw message