You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by po...@apache.org on 2010/11/01 16:42:08 UTC
svn commit: r1029715 - /httpd/httpd/trunk/docs/manual/urlmapping.xml
Author: poirier
Date: Mon Nov 1 15:42:08 2010
New Revision: 1029715
URL: http://svn.apache.org/viewvc?rev=1029715&view=rev
Log:
Fix regex in AliasMatch example. Thanks to Felix Schaefer for report
and fix. PR47722.
Modified:
httpd/httpd/trunk/docs/manual/urlmapping.xml
Modified: httpd/httpd/trunk/docs/manual/urlmapping.xml
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/urlmapping.xml?rev=1029715&r1=1029714&r2=1029715&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/urlmapping.xml (original)
+++ httpd/httpd/trunk/docs/manual/urlmapping.xml Mon Nov 1 15:42:08 2010
@@ -181,8 +181,8 @@
<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>