Commit 260d717e authored by Stefan Fritsch's avatar Stefan Fritsch
Browse files

purge some useless uses of '.*'


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1132802 13f79535-47bb-0310-9956-ffa450edef68
parent 16d6b88c
Loading
Loading
Loading
Loading
+1 −1
Changes for docs/manual/mod/mod_setenvif.xml: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -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
+1 −1
Changes for docs/manual/rewrite/access.xml: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -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
+2 −2
Changes for docs/manual/rewrite/intro.xml: 2 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -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>

+1 −1
Changes for docs/manual/rewrite/rewritemap.xml: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -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>
+3 −2
Changes for docs/manual/ssl/ssl_faq.xml: 3 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -676,7 +676,8 @@ Does this mean the username/password is being sent unencrypted?</title>
</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 Microsoft Internet Explorer (MSIE)?</titl
    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>
Loading