summaryrefslogtreecommitdiff
path: root/docs/manual/urlmapping.xml
diff options
context:
space:
mode:
authorJoshua Slive <slive@apache.org>2003-08-25 16:47:42 +0000
committerJoshua Slive <slive@apache.org>2003-08-25 16:47:42 +0000
commit1107cc35bbcd3f012a9b1224471561fe63d2cf37 (patch)
tree87f77f7df8ea9f0db5fd99e051d428b8b31a8be9 /docs/manual/urlmapping.xml
parent41fd1c504c0268f1c665f4ac40a88b6363508418 (diff)
downloadhttpd-1107cc35bbcd3f012a9b1224471561fe63d2cf37.tar.gz
Make some regex examples a little more exact.
Submitted by: Jari Alto <jari.aalto@poboxes.com> PR: 22348 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@101098 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'docs/manual/urlmapping.xml')
-rw-r--r--docs/manual/urlmapping.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/manual/urlmapping.xml b/docs/manual/urlmapping.xml
index 6bc121763a..986a2fb3b6 100644
--- a/docs/manual/urlmapping.xml
+++ b/docs/manual/urlmapping.xml
@@ -97,7 +97,7 @@
directives to do powerful regular-expression based matching and
substitution. For example,</p>
-<example>ScriptAliasMatch ^/~([a-zA-Z0-9]*)/cgi-bin/(.*)
+<example>ScriptAliasMatch ^/~([a-zA-Z0-9]+)/cgi-bin/(.+)
/home/$1/cgi-bin/$2</example>
<p>will map a request to
@@ -144,7 +144,7 @@
<code>/home/user/public_html/file.html</code>, use the following
<code>AliasMatch</code> directive:</p>
-<example>AliasMatch ^/upages/([a-zA-Z0-9]*)/?(.*)
+<example>AliasMatch ^/upages/([a-zA-Z0-9]+)/?(.*)
/home/$1/public_html/$2</example>
</section>