Return-Path:
Delivered-To: apmail-httpd-cvs-archive@httpd.apache.org
Received: (qmail 58041 invoked by uid 500); 25 Aug 2003 16:47:39 -0000
Mailing-List: contact cvs-help@httpd.apache.org; run by ezmlm
Precedence: bulk
Reply-To: dev@httpd.apache.org
list-help:
list-unsubscribe:
list-post:
Delivered-To: mailing list cvs@httpd.apache.org
Received: (qmail 58013 invoked by uid 500); 25 Aug 2003 16:47:38 -0000
Delivered-To: apmail-httpd-2.0-cvs@apache.org
Received: (qmail 57997 invoked from network); 25 Aug 2003 16:47:38 -0000
Received: from minotaur.apache.org (209.237.227.194)
by daedalus.apache.org with SMTP; 25 Aug 2003 16:47:38 -0000
Received: (qmail 24879 invoked by uid 1173); 25 Aug 2003 16:47:42 -0000
Date: 25 Aug 2003 16:47:42 -0000
Message-ID: <20030825164742.24878.qmail@minotaur.apache.org>
From: slive@apache.org
To: httpd-2.0-cvs@apache.org
Subject: cvs commit: httpd-2.0/docs/manual urlmapping.xml urlmapping.html.en
X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N
slive 2003/08/25 09:47:42
Modified: docs/manual urlmapping.xml urlmapping.html.en
Log:
Make some regex examples a little more exact.
Submitted by: Jari Alto
PR: 22348
Revision Changes Path
1.9 +2 -2 httpd-2.0/docs/manual/urlmapping.xml
Index: urlmapping.xml
===================================================================
RCS file: /home/cvs/httpd-2.0/docs/manual/urlmapping.xml,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -b -u -r1.8 -r1.9
--- urlmapping.xml 12 Apr 2003 15:04:43 -0000 1.8
+++ urlmapping.xml 25 Aug 2003 16:47:42 -0000 1.9
@@ -97,7 +97,7 @@
directives to do powerful regular-expression based matching and
substitution. For example,
-ScriptAliasMatch ^/~([a-zA-Z0-9]*)/cgi-bin/(.*)
+ScriptAliasMatch ^/~([a-zA-Z0-9]+)/cgi-bin/(.+)
/home/$1/cgi-bin/$2
will map a request to
@@ -144,7 +144,7 @@
/home/user/public_html/file.html
, use the following
AliasMatch
directive:
-AliasMatch ^/upages/([a-zA-Z0-9]*)/?(.*)
+AliasMatch ^/upages/([a-zA-Z0-9]+)/?(.*)
/home/$1/public_html/$2
1.24 +2 -2 httpd-2.0/docs/manual/urlmapping.html.en
Index: urlmapping.html.en
===================================================================
RCS file: /home/cvs/httpd-2.0/docs/manual/urlmapping.html.en,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -d -b -u -r1.23 -r1.24
--- urlmapping.html.en 29 May 2003 16:12:36 -0000 1.23
+++ urlmapping.html.en 25 Aug 2003 16:47:42 -0000 1.24
@@ -92,7 +92,7 @@
directives to do powerful regular-expression based matching and
substitution. For example,
-ScriptAliasMatch ^/~([a-zA-Z0-9]*)/cgi-bin/(.*)
+ScriptAliasMatch ^/~([a-zA-Z0-9]+)/cgi-bin/(.+)
/home/$1/cgi-bin/$2
will map a request to
@@ -139,7 +139,7 @@
/home/user/public_html/file.html
, use the following
AliasMatch
directive:
-AliasMatch ^/upages/([a-zA-Z0-9]*)/?(.*)
+AliasMatch ^/upages/([a-zA-Z0-9]+)/?(.*)
/home/$1/public_html/$2