This is an automated email from the ASF dual-hosted git repository.
fanningpj pushed a commit to branch asf-staging
in repository https://gitbox.apache.org/repos/asf/pekko-site.git
The following commit(s) were added to refs/heads/asf-staging by this push:
new 0d29cf30 redirect broken migration doc (temp)
0d29cf30 is described below
commit 0d29cf30ee8bc6e3932a37ad204345668c83fc27
Author: PJ Fanning <[email protected]>
AuthorDate: Mon Sep 16 13:14:15 2024 +0100
redirect broken migration doc (temp)
---
content/.htaccess | 2 ++
src/main/public/.htaccess | 2 ++
2 files changed, 4 insertions(+)
diff --git a/content/.htaccess b/content/.htaccess
index 228bb34f..558cd16b 100644
--- a/content/.htaccess
+++ b/content/.htaccess
@@ -3,6 +3,8 @@ RewriteEngine On
RewriteRule ^docs/([^/]+)/snapshot/(.*)$
https://nightlies.apache.org/pekko/docs/$1/main-snapshot/docs/$2 [P]
RewriteRule ^api/([^/]+)/snapshot/(.*)$
https://nightlies.apache.org/pekko/docs/$1/main-snapshot/api/$2 [P]
RewriteRule ^japi/([^/]+)/snapshot/(.*)$
https://nightlies.apache.org/pekko/docs/$1/main-snapshot/japi/$2 [P]
+# broken current links in legacy docs
+RewriteRule ^docs/pekko/current/project/migration-guides.html
https://pekko.apache.org/docs/pekko/current/migration/migration-guide-akka-1.0.x.html
[P]
# pekko/current gets redirected to pekko/1.1.1
RewriteRule ^docs/pekko/current/(.*)$
https://nightlies.apache.org/pekko/docs/pekko/1.1.1/docs/$1 [P]
RewriteRule ^api/pekko/current/(.*)$
https://nightlies.apache.org/pekko/docs/pekko/1.1.1/api/$1 [P]
diff --git a/src/main/public/.htaccess b/src/main/public/.htaccess
index 228bb34f..558cd16b 100644
--- a/src/main/public/.htaccess
+++ b/src/main/public/.htaccess
@@ -3,6 +3,8 @@ RewriteEngine On
RewriteRule ^docs/([^/]+)/snapshot/(.*)$
https://nightlies.apache.org/pekko/docs/$1/main-snapshot/docs/$2 [P]
RewriteRule ^api/([^/]+)/snapshot/(.*)$
https://nightlies.apache.org/pekko/docs/$1/main-snapshot/api/$2 [P]
RewriteRule ^japi/([^/]+)/snapshot/(.*)$
https://nightlies.apache.org/pekko/docs/$1/main-snapshot/japi/$2 [P]
+# broken current links in legacy docs
+RewriteRule ^docs/pekko/current/project/migration-guides.html
https://pekko.apache.org/docs/pekko/current/migration/migration-guide-akka-1.0.x.html
[P]
# pekko/current gets redirected to pekko/1.1.1
RewriteRule ^docs/pekko/current/(.*)$
https://nightlies.apache.org/pekko/docs/pekko/1.1.1/docs/$1 [P]
RewriteRule ^api/pekko/current/(.*)$
https://nightlies.apache.org/pekko/docs/pekko/1.1.1/api/$1 [P]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]