Mailing List Archive

svn commit: r1916631 - /spamassassin/site/.htaccess
Author: sidney
Date: Fri Mar 29 13:55:20 2024
New Revision: 1916631

URL: http://svn.apache.org/viewvc?rev=1916631&view=rev
Log:
Update .htaccess for new release and for no longer using downloads.cgi since there are no download mirrors anymore

Modified:
spamassassin/site/.htaccess

Modified: spamassassin/site/.htaccess
URL: http://svn.apache.org/viewvc/spamassassin/site/.htaccess?rev=1916631&r1=1916630&r2=1916631&view=diff
==============================================================================
--- spamassassin/site/.htaccess (original)
+++ spamassassin/site/.htaccess Fri Mar 29 13:55:20 2024
@@ -1,5 +1,4 @@
Redirect /favicon.ico https://spamassassin.apache.org/images/favicon.ico
-Redirect /downloads.html https://spamassassin.apache.org/downloads.cgi

RewriteEngine On
RewriteCond %{SERVER_PORT} 80
@@ -7,11 +6,13 @@ RewriteCond %{REQUEST_URI} !^/updates\/M
RewriteRule ^(.*)$ https://spamassassin.apache.org/$1 [R,L]

RewriteBase /
-RewriteRule ^doc/(.*)$ https://spamassassin.apache.org/full/3.4.x/doc/$1 [R=permanent]
-RewriteRule ^doc.html/(.*)$ https://spamassassin.apache.org/full/3.4.x/doc/$1 [R=permanent]
-RewriteRule ^dist/(.*)$ https://svn.apache.org/repos/asf/spamassassin/tags/spamassassin_current_release_3.4.x/$1 [R=permanent]
+RewriteRule ^doc/(.*)$ https://spamassassin.apache.org/full/4.0.x/doc/$1 [R=permanent]
+RewriteRule ^doc.html/(.*)$ https://spamassassin.apache.org/full/4.0.x/doc/$1 [R=permanent]
+RewriteRule ^dist/(.*)$ https://svn.apache.org/repos/asf/spamassassin/tags/spamassassin_current_release_4.0.x/$1 [R=permanent]
RewriteRule ^full/3.4.x/dist/doc/(.*)$ https://spamassassin.apache.org/full/3.4.x/doc/$1 [R=permanent]
RewriteRule ^full/3.4.x/dist/(.*)$ https://svn.apache.org/repos/asf/spamassassin/tags/spamassassin_current_release_3.4.x/$1 [R=permanent]
-RewriteRule ^doc$ https://spamassassin.apache.org/full/3.4.x/doc/ [R=permanent]
+RewriteRule ^full/4.0.x/dist/doc/(.*)$ https://spamassassin.apache.org/full/4.0.x/doc/$1 [R=permanent]
+RewriteRule ^full/4.0.x/dist/(.*)$ https://svn.apache.org/repos/asf/spamassassin/tags/spamassassin_current_release_4.0.x/$1 [R=permanent]
+RewriteRule ^doc$ https://spamassassin.apache.org/full/4.0.x/doc/ [R=permanent]

ErrorDocument 404 https://spamassassin.apache.org/404.html