summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Fritsch <sf@apache.org>2011-06-06 22:09:22 +0000
committerStefan Fritsch <sf@apache.org>2011-06-06 22:09:22 +0000
commit45066dfb1535ff3d09af93c6ee36300b7c04194a (patch)
treed683c4f7d5d8bc34ca2fafe98ba7d95fa54621ac
parentfcd2bae83c0a40aac55cd21f3fa7f1bef88d06af (diff)
downloadhttpd-45066dfb1535ff3d09af93c6ee36300b7c04194a.tar.gz
purge some useless uses of '.*'
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1132802 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--docs/manual/mod/mod_setenvif.xml2
-rw-r--r--docs/manual/rewrite/access.xml2
-rw-r--r--docs/manual/rewrite/intro.xml4
-rw-r--r--docs/manual/rewrite/rewritemap.xml2
-rw-r--r--docs/manual/ssl/ssl_faq.xml5
-rw-r--r--docs/manual/ssl/ssl_howto.xml2
-rw-r--r--docs/manual/vhosts/examples.xml2
7 files changed, 10 insertions, 9 deletions
diff --git a/docs/manual/mod/mod_setenvif.xml b/docs/manual/mod/mod_setenvif.xml
index adeb7173b6..33a0fd4da6 100644
--- a/docs/manual/mod/mod_setenvif.xml
+++ b/docs/manual/mod/mod_setenvif.xml
@@ -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
diff --git a/docs/manual/rewrite/access.xml b/docs/manual/rewrite/access.xml
index c6fe5aa3a9..fa4a21b88e 100644
--- a/docs/manual/rewrite/access.xml
+++ b/docs/manual/rewrite/access.xml
@@ -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
diff --git a/docs/manual/rewrite/intro.xml b/docs/manual/rewrite/intro.xml
index b962fd79d5..9f1c17ee3e 100644
--- a/docs/manual/rewrite/intro.xml
+++ b/docs/manual/rewrite/intro.xml
@@ -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>
diff --git a/docs/manual/rewrite/rewritemap.xml b/docs/manual/rewrite/rewritemap.xml
index 35899514df..d5059521eb 100644
--- a/docs/manual/rewrite/rewritemap.xml
+++ b/docs/manual/rewrite/rewritemap.xml
@@ -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>
diff --git a/docs/manual/ssl/ssl_faq.xml b/docs/manual/ssl/ssl_faq.xml
index a94da977fb..9953054593 100644
--- a/docs/manual/ssl/ssl_faq.xml
+++ b/docs/manual/ssl/ssl_faq.xml
@@ -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>
diff --git a/docs/manual/ssl/ssl_howto.xml b/docs/manual/ssl/ssl_howto.xml
index 768aaa86ab..6a214e231c 100644
--- a/docs/manual/ssl/ssl_howto.xml
+++ b/docs/manual/ssl/ssl_howto.xml
@@ -260,7 +260,7 @@ SSLRequire %{SSL_CIPHER_USEKEYSIZE} &gt;= 128
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
diff --git a/docs/manual/vhosts/examples.xml b/docs/manual/vhosts/examples.xml
index 4a70b5a979..0d96e98454 100644
--- a/docs/manual/vhosts/examples.xml
+++ b/docs/manual/vhosts/examples.xml
@@ -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 />