Author: veithen
Date: Fri Sep 27 15:39:07 2024
New Revision: 1920995
URL: http://svn.apache.org/viewvc?rev=1920995&view=rev
Log:
Remove double forward slashes (4th attempt)
Modified:
webservices/website/axiom/.htaccess
Modified: webservices/website/axiom/.htaccess
URL:
http://svn.apache.org/viewvc/webservices/website/axiom/.htaccess?rev=1920995&r1=1920994&r2=1920995&view=diff
==============================================================================
--- webservices/website/axiom/.htaccess (original)
+++ webservices/website/axiom/.htaccess Fri Sep 27 15:39:07 2024
@@ -11,8 +11,10 @@ Redirect permanent /axiom/svn.html https
# Remove double forward slashes
RewriteEngine On
-RewriteCond %{REQUEST_URI} ^(.*)//(.*)$
-RewriteRule . %1/%2 [R=301,L]
+RewriteBase /
+Options +FollowSymlinks
+RewriteCond %{REQUEST_URI} //+
+RewriteRule ^(.*) $1 [R=301,L]
# Let search engines know that we no longer publish Javadoc for internal
implementation classes
RedirectMatch gone
^/axiom/apidocs/org/apache/axiom/(om|soap)/impl/(llom|dom)/.*$