httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From poir...@apache.org
Subject svn commit: r1029715 - /httpd/httpd/trunk/docs/manual/urlmapping.xml
Date Mon, 01 Nov 2010 15:42:08 GMT
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>



Mime
View raw message