]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Fix regex in AliasMatch example. Thanks to Felix Schaefer for report
authorDaniel Earl Poirier <poirier@apache.org>
Mon, 1 Nov 2010 15:42:08 +0000 (15:42 +0000)
committerDaniel Earl Poirier <poirier@apache.org>
Mon, 1 Nov 2010 15:42:08 +0000 (15:42 +0000)
and fix.  PR47722.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1029715 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/urlmapping.xml

index 1dfe80be60ac495f6773df04d49281e390e08de6..01a3179810614e1b1cf5ec775e19df1c608ce8cc 100644 (file)
     <code>/home/user/public_html/file.html</code>, use the following
     <code>AliasMatch</code> directive:</p>
 
-<example>AliasMatch ^/upages/([a-zA-Z0-9]+)/?(.*)
-      /home/$1/public_html/$2</example>
+<example>AliasMatch ^/upages/([a-zA-Z0-9]+)(/(.*))?$
+      /home/$1/public_html/$3</example>
 </section>
 
 <section id="redirect"><title>URL Redirection</title>