You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by nd...@apache.org on 2005/07/23 23:13:00 UTC

svn commit: r224542 - in /httpd/httpd/trunk/docs/manual: convenience.map style/xsl/convmap.xsl

Author: nd
Date: Sat Jul 23 14:12:54 2005
New Revision: 224542

URL: http://svn.apache.org/viewcvs?rev=224542&view=rev
Log:
we need to match the string end.

Modified:
    httpd/httpd/trunk/docs/manual/convenience.map
    httpd/httpd/trunk/docs/manual/style/xsl/convmap.xsl

Modified: httpd/httpd/trunk/docs/manual/convenience.map
URL: http://svn.apache.org/viewcvs/httpd/httpd/trunk/docs/manual/convenience.map?rev=224542&r1=224541&r2=224542&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/convenience.map (original)
+++ httpd/httpd/trunk/docs/manual/convenience.map Sat Jul 23 14:12:54 2005
@@ -4,7 +4,7 @@
 # RewriteEngine On
 # RewriteMap dir2url txt:/path/to/convenience.map
 # RewriteCond ${dir2url:$1} (.+)
-# RewriteRule ^/+([^/]+) /manual/%1 [R=301,NE,L]
+# RewriteRule ^/+([^/]+)$ /manual/%1 [R=301,NE,L]
 
 acceptfilter	mod/core.html#acceptfilter
 acceptmutex	mod/mpm_common.html#acceptmutex

Modified: httpd/httpd/trunk/docs/manual/style/xsl/convmap.xsl
URL: http://svn.apache.org/viewcvs/httpd/httpd/trunk/docs/manual/style/xsl/convmap.xsl?rev=224542&r1=224541&r2=224542&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/style/xsl/convmap.xsl (original)
+++ httpd/httpd/trunk/docs/manual/style/xsl/convmap.xsl Sat Jul 23 14:12:54 2005
@@ -42,7 +42,7 @@
 <xsl:text># RewriteMap dir2url </xsl:text>
 <xsl:text>txt:/path/to/convenience.map</xsl:text>&lf;
 <xsl:text># RewriteCond ${dir2url:$1} (.+)</xsl:text>&lf;
-<xsl:text># RewriteRule ^/+([^/]+) /manual/%1 [R=301,NE,L]</xsl:text>&lf;&lf;
+<xsl:text># RewriteRule ^/+([^/]+)$ /manual/%1 [R=301,NE,L]</xsl:text>&lf;&lf;
 
 <xsl:apply-templates
     select="document(modulefile)/modulesynopsis[status!='Obsolete']