This is an automated email from the ASF dual-hosted git repository.
fanningpj pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/pekko-site.git
The following commit(s) were added to refs/heads/main by this push:
new 7b3d1d74 redirect broken migration doc link (#130)
7b3d1d74 is described below
commit 7b3d1d746200c2113959abdfa28117ab39df99a7
Author: PJ Fanning <[email protected]>
AuthorDate: Mon Sep 16 13:22:38 2024 +0100
redirect broken migration doc link (#130)
---
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]