Hi Hervé
On 8/21/15 7:38 AM, Hervé BOUTEMY wrote:
what are you trying to fix, please?
The problem i discovered was:
http://maven.apache.org/guides/index.html
on this page the links like the following:
http://maven.apache.org/ref/current/maven-model/maven.html
which results in duplicated slashes..which is fixed by my change...
because IMHO this one will give bad result on
http://maven.apache.org/ref/current
Yeah...this does not work...correct..
but I suppose it will give better result on
http://maven.apache.org/ref/current/index.html
This works perfect...
perhaps we should duplicate the rule:
Redirect /ref/current/ http://maven.apache.org/ref/${currentStableVersion}/
Redirect /ref/current http://maven.apache.org/ref/${currentStableVersion}/
Sure....It will to fix also the other cases...
So i changed it accordingly....Thanks for finding this...
WDYT?
Regards,
Hervé
Le jeudi 20 août 2015 19:24:39 [email protected] a écrit :
Author: khmarbaise
Date: Thu Aug 20 19:24:39 2015
New Revision: 1696844
URL: http://svn.apache.org/r1696844
Log:
Fixing redirect to correct links to /ref/current/
Modified:
maven/site/trunk/content/filtered-resources/.htaccess
Modified: maven/site/trunk/content/filtered-resources/.htaccess
URL:
http://svn.apache.org/viewvc/maven/site/trunk/content/filtered-resources/.h
taccess?rev=1696844&r1=1696843&r2=1696844&view=diff
===========================================================================
=== --- maven/site/trunk/content/filtered-resources/.htaccess (original) +++
maven/site/trunk/content/filtered-resources/.htaccess Thu Aug 20 19:24:39
2015 @@ -5,7 +5,7 @@ Redirect Permanent /release-notes.html h
Redirect Permanent /download.html /download.cgi
RedirectMatch permanent ^/(.*)/download.html$
http://maven.apache.org/$1/download.cgi
-Redirect /ref/current http://maven.apache.org/ref/${currentStableVersion}/
+Redirect /ref/current http://maven.apache.org/ref/${currentStableVersion}
Redirect Permanent /maven-v4_0_0.xsd
http://maven.apache.org/xsd/maven-4.0.0.xsd
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]