This is an automated email from the ASF dual-hosted git repository.
pjfanning 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 7f177145 pekko 1.7.0 redirects (#225)
7f177145 is described below
commit 7f177145bdc0a2dcadbe11fb19a07da719cd1076
Author: PJ Fanning <[email protected]>
AuthorDate: Fri Aug 21 10:12:33 2026 +0100
pekko 1.7.0 redirects (#225)
---
content/.htaccess | 20 ++++++++++++++++----
src/main/public/.htaccess | 20 ++++++++++++++++----
2 files changed, 32 insertions(+), 8 deletions(-)
diff --git a/content/.htaccess b/content/.htaccess
index 19d2ccc8..e3d3a7b5 100644
--- a/content/.htaccess
+++ b/content/.htaccess
@@ -5,10 +5,10 @@ RewriteRule ^api/([^/]+)/snapshot/(.*)$
https://nightlies.apache.org/pekko/docs/
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.6
-RewriteRule ^docs/pekko/current/(.*)$
https://nightlies.apache.org/pekko/docs/pekko/1.6/docs/$1 [P]
-RewriteRule ^api/pekko/current/(.*)$
https://nightlies.apache.org/pekko/docs/pekko/1.6/api/$1 [P]
-RewriteRule ^japi/pekko/current/(.*)$
https://nightlies.apache.org/pekko/docs/pekko/1.6/japi/$1 [P]
+# pekko/current gets redirected to pekko/1.7
+RewriteRule ^docs/pekko/current/(.*)$
https://nightlies.apache.org/pekko/docs/pekko/1.7/docs/$1 [P]
+RewriteRule ^api/pekko/current/(.*)$
https://nightlies.apache.org/pekko/docs/pekko/1.7/api/$1 [P]
+RewriteRule ^japi/pekko/current/(.*)$
https://nightlies.apache.org/pekko/docs/pekko/1.7/japi/$1 [P]
# pekko-http/current gets redirected to pekko-http/1.4
RewriteRule ^docs/pekko-http/current/(.*)$
https://nightlies.apache.org/pekko/docs/pekko-http/1.4/docs/$1 [P]
RewriteRule ^api/pekko-http/current/(.*)$
https://nightlies.apache.org/pekko/docs/pekko-http/1.4/api/$1 [P]
@@ -69,6 +69,14 @@ RewriteRule ^japi/([^/]+)/1.5/(.*)$
https://nightlies.apache.org/pekko/docs/$1/1
RewriteRule ^docs/([^/]+)/1.6/(.*)$
https://nightlies.apache.org/pekko/docs/$1/1.6/docs/$2 [P]
RewriteRule ^api/([^/]+)/1.6/(.*)$
https://nightlies.apache.org/pekko/docs/$1/1.6/api/$2 [P]
RewriteRule ^japi/([^/]+)/1.6/(.*)$
https://nightlies.apache.org/pekko/docs/$1/1.6/japi/$2 [P]
+# 1.7 redirect
+RewriteRule ^docs/([^/]+)/1.7/(.*)$
https://nightlies.apache.org/pekko/docs/$1/1.7/docs/$2 [P]
+RewriteRule ^api/([^/]+)/1.7/(.*)$
https://nightlies.apache.org/pekko/docs/$1/1.7/api/$2 [P]
+RewriteRule ^japi/([^/]+)/1.7/(.*)$
https://nightlies.apache.org/pekko/docs/$1/1.7/japi/$2 [P]
+# 1.8 redirect
+RewriteRule ^docs/([^/]+)/1.8/(.*)$
https://nightlies.apache.org/pekko/docs/$1/1.8/docs/$2 [P]
+RewriteRule ^api/([^/]+)/1.8/(.*)$
https://nightlies.apache.org/pekko/docs/$1/1.8/api/$2 [P]
+RewriteRule ^japi/([^/]+)/1.8/(.*)$
https://nightlies.apache.org/pekko/docs/$1/1.8/japi/$2 [P]
# 2.0 redirect
RewriteRule ^docs/([^/]+)/2.0/(.*)$
https://nightlies.apache.org/pekko/docs/$1/2.0/docs/$2 [P]
RewriteRule ^api/([^/]+)/2.0/(.*)$
https://nightlies.apache.org/pekko/docs/$1/2.0/api/$2 [P]
@@ -145,6 +153,10 @@ RewriteRule ^japi/([^/]+)/1.5.0/(.*)$
https://nightlies.apache.org/pekko/docs/$1
RewriteRule ^docs/([^/]+)/1.6.0/(.*)$
https://nightlies.apache.org/pekko/docs/$1/1.6.0/docs/$2 [P]
RewriteRule ^api/([^/]+)/1.6.0/(.*)$
https://nightlies.apache.org/pekko/docs/$1/1.6.0/api/$2 [P]
RewriteRule ^japi/([^/]+)/1.6.0/(.*)$
https://nightlies.apache.org/pekko/docs/$1/1.6.0/japi/$2 [P]
+# 1.7.0 redirect
+RewriteRule ^docs/([^/]+)/1.7.0/(.*)$
https://nightlies.apache.org/pekko/docs/$1/1.7.0/docs/$2 [P]
+RewriteRule ^api/([^/]+)/1.7.0/(.*)$
https://nightlies.apache.org/pekko/docs/$1/1.7.0/api/$2 [P]
+RewriteRule ^japi/([^/]+)/1.7.0/(.*)$
https://nightlies.apache.org/pekko/docs/$1/1.7.0/japi/$2 [P]
# 1.0.3-M1 redirect
RewriteRule ^docs/([^/]+)/1.0.3-M1/(.*)$
https://nightlies.apache.org/pekko/docs/$1/1.0.3-M1/docs/$2 [P]
RewriteRule ^api/([^/]+)/1.0.3-M1/(.*)$
https://nightlies.apache.org/pekko/docs/$1/1.0.3-M1/api/$2 [P]
diff --git a/src/main/public/.htaccess b/src/main/public/.htaccess
index 19d2ccc8..e3d3a7b5 100644
--- a/src/main/public/.htaccess
+++ b/src/main/public/.htaccess
@@ -5,10 +5,10 @@ RewriteRule ^api/([^/]+)/snapshot/(.*)$
https://nightlies.apache.org/pekko/docs/
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.6
-RewriteRule ^docs/pekko/current/(.*)$
https://nightlies.apache.org/pekko/docs/pekko/1.6/docs/$1 [P]
-RewriteRule ^api/pekko/current/(.*)$
https://nightlies.apache.org/pekko/docs/pekko/1.6/api/$1 [P]
-RewriteRule ^japi/pekko/current/(.*)$
https://nightlies.apache.org/pekko/docs/pekko/1.6/japi/$1 [P]
+# pekko/current gets redirected to pekko/1.7
+RewriteRule ^docs/pekko/current/(.*)$
https://nightlies.apache.org/pekko/docs/pekko/1.7/docs/$1 [P]
+RewriteRule ^api/pekko/current/(.*)$
https://nightlies.apache.org/pekko/docs/pekko/1.7/api/$1 [P]
+RewriteRule ^japi/pekko/current/(.*)$
https://nightlies.apache.org/pekko/docs/pekko/1.7/japi/$1 [P]
# pekko-http/current gets redirected to pekko-http/1.4
RewriteRule ^docs/pekko-http/current/(.*)$
https://nightlies.apache.org/pekko/docs/pekko-http/1.4/docs/$1 [P]
RewriteRule ^api/pekko-http/current/(.*)$
https://nightlies.apache.org/pekko/docs/pekko-http/1.4/api/$1 [P]
@@ -69,6 +69,14 @@ RewriteRule ^japi/([^/]+)/1.5/(.*)$
https://nightlies.apache.org/pekko/docs/$1/1
RewriteRule ^docs/([^/]+)/1.6/(.*)$
https://nightlies.apache.org/pekko/docs/$1/1.6/docs/$2 [P]
RewriteRule ^api/([^/]+)/1.6/(.*)$
https://nightlies.apache.org/pekko/docs/$1/1.6/api/$2 [P]
RewriteRule ^japi/([^/]+)/1.6/(.*)$
https://nightlies.apache.org/pekko/docs/$1/1.6/japi/$2 [P]
+# 1.7 redirect
+RewriteRule ^docs/([^/]+)/1.7/(.*)$
https://nightlies.apache.org/pekko/docs/$1/1.7/docs/$2 [P]
+RewriteRule ^api/([^/]+)/1.7/(.*)$
https://nightlies.apache.org/pekko/docs/$1/1.7/api/$2 [P]
+RewriteRule ^japi/([^/]+)/1.7/(.*)$
https://nightlies.apache.org/pekko/docs/$1/1.7/japi/$2 [P]
+# 1.8 redirect
+RewriteRule ^docs/([^/]+)/1.8/(.*)$
https://nightlies.apache.org/pekko/docs/$1/1.8/docs/$2 [P]
+RewriteRule ^api/([^/]+)/1.8/(.*)$
https://nightlies.apache.org/pekko/docs/$1/1.8/api/$2 [P]
+RewriteRule ^japi/([^/]+)/1.8/(.*)$
https://nightlies.apache.org/pekko/docs/$1/1.8/japi/$2 [P]
# 2.0 redirect
RewriteRule ^docs/([^/]+)/2.0/(.*)$
https://nightlies.apache.org/pekko/docs/$1/2.0/docs/$2 [P]
RewriteRule ^api/([^/]+)/2.0/(.*)$
https://nightlies.apache.org/pekko/docs/$1/2.0/api/$2 [P]
@@ -145,6 +153,10 @@ RewriteRule ^japi/([^/]+)/1.5.0/(.*)$
https://nightlies.apache.org/pekko/docs/$1
RewriteRule ^docs/([^/]+)/1.6.0/(.*)$
https://nightlies.apache.org/pekko/docs/$1/1.6.0/docs/$2 [P]
RewriteRule ^api/([^/]+)/1.6.0/(.*)$
https://nightlies.apache.org/pekko/docs/$1/1.6.0/api/$2 [P]
RewriteRule ^japi/([^/]+)/1.6.0/(.*)$
https://nightlies.apache.org/pekko/docs/$1/1.6.0/japi/$2 [P]
+# 1.7.0 redirect
+RewriteRule ^docs/([^/]+)/1.7.0/(.*)$
https://nightlies.apache.org/pekko/docs/$1/1.7.0/docs/$2 [P]
+RewriteRule ^api/([^/]+)/1.7.0/(.*)$
https://nightlies.apache.org/pekko/docs/$1/1.7.0/api/$2 [P]
+RewriteRule ^japi/([^/]+)/1.7.0/(.*)$
https://nightlies.apache.org/pekko/docs/$1/1.7.0/japi/$2 [P]
# 1.0.3-M1 redirect
RewriteRule ^docs/([^/]+)/1.0.3-M1/(.*)$
https://nightlies.apache.org/pekko/docs/$1/1.0.3-M1/docs/$2 [P]
RewriteRule ^api/([^/]+)/1.0.3-M1/(.*)$
https://nightlies.apache.org/pekko/docs/$1/1.0.3-M1/api/$2 [P]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]