]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Second attempt. This seems to work better.
authorRich Bowen <rbowen@apache.org>
Tue, 11 May 2010 01:53:45 +0000 (01:53 +0000)
committerRich Bowen <rbowen@apache.org>
Tue, 11 May 2010 01:53:45 +0000 (01:53 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@942974 13f79535-47bb-0310-9956-ffa450edef68

htdocs/manual/mod/header.html

index b479e087a0eabb9c205695c61aa49ddbfeed26ab..670a615ef60ee9bf162fefa935d603d079adb4e2 100644 (file)
@@ -22,7 +22,7 @@
         href="http://httpd.apache.org/docs/2.2/">2.2</a>.
         
         This document may be at 
-        <a href="<script>document.write( str.replace( /1\.3/2.2/, document.location.host) );</script>"></a> 
+        <a href="<script>document.write( location.pathname.replace( /1\.3/, '2.2') );</script>"></a> 
         in the 2.2 docs. 
         </p></div>