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 586dd54e redirect 1.2.0 (and some other versions) (#164)
586dd54e is described below
commit 586dd54e11ff0223ef23e3b81e3c2802f7fff341
Author: PJ Fanning <[email protected]>
AuthorDate: Mon Sep 1 16:33:11 2025 +0100
redirect 1.2.0 (and some other versions) (#164)
* redirect 1.2.0 (and some other versions)
* fix redirects
---
content/.htaccess | 12 ++++++++++++
src/main/public/.htaccess | 12 ++++++++++++
2 files changed, 24 insertions(+)
diff --git a/content/.htaccess b/content/.htaccess
index 57f39e13..79019ac3 100644
--- a/content/.htaccess
+++ b/content/.htaccess
@@ -101,6 +101,18 @@ RewriteRule ^japi/([^/]+)/1.1.4/(.*)$
https://nightlies.apache.org/pekko/docs/$1
RewriteRule ^docs/([^/]+)/1.1.5/(.*)$
https://nightlies.apache.org/pekko/docs/$1/1.1.5/docs/$2 [P]
RewriteRule ^api/([^/]+)/1.1.5/(.*)$
https://nightlies.apache.org/pekko/docs/$1/1.1.5/api/$2 [P]
RewriteRule ^japi/([^/]+)/1.1.5/(.*)$
https://nightlies.apache.org/pekko/docs/$1/1.1.5/japi/$2 [P]
+# 1.1.6 redirect
+RewriteRule ^docs/([^/]+)/1.1.6/(.*)$
https://nightlies.apache.org/pekko/docs/$1/1.1.6/docs/$2 [P]
+RewriteRule ^api/([^/]+)/1.1.6/(.*)$
https://nightlies.apache.org/pekko/docs/$1/1.1.6/api/$2 [P]
+RewriteRule ^japi/([^/]+)/1.1.6/(.*)$
https://nightlies.apache.org/pekko/docs/$1/1.1.6/japi/$2 [P]
+# 1.2.0 redirect
+RewriteRule ^docs/([^/]+)/1.2.0/(.*)$
https://nightlies.apache.org/pekko/docs/$1/1.2.0/docs/$2 [P]
+RewriteRule ^api/([^/]+)/1.2.0/(.*)$
https://nightlies.apache.org/pekko/docs/$1/1.2.0/api/$2 [P]
+RewriteRule ^japi/([^/]+)/1.2.0/(.*)$
https://nightlies.apache.org/pekko/docs/$1/1.2.0/japi/$2 [P]
+# 1.2.1 redirect
+RewriteRule ^docs/([^/]+)/1.2.1/(.*)$
https://nightlies.apache.org/pekko/docs/$1/1.2.1/docs/$2 [P]
+RewriteRule ^api/([^/]+)/1.2.1/(.*)$
https://nightlies.apache.org/pekko/docs/$1/1.2.1/api/$2 [P]
+RewriteRule ^japi/([^/]+)/1.2.1/(.*)$
https://nightlies.apache.org/pekko/docs/$1/1.2.1/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 57f39e13..79019ac3 100644
--- a/src/main/public/.htaccess
+++ b/src/main/public/.htaccess
@@ -101,6 +101,18 @@ RewriteRule ^japi/([^/]+)/1.1.4/(.*)$
https://nightlies.apache.org/pekko/docs/$1
RewriteRule ^docs/([^/]+)/1.1.5/(.*)$
https://nightlies.apache.org/pekko/docs/$1/1.1.5/docs/$2 [P]
RewriteRule ^api/([^/]+)/1.1.5/(.*)$
https://nightlies.apache.org/pekko/docs/$1/1.1.5/api/$2 [P]
RewriteRule ^japi/([^/]+)/1.1.5/(.*)$
https://nightlies.apache.org/pekko/docs/$1/1.1.5/japi/$2 [P]
+# 1.1.6 redirect
+RewriteRule ^docs/([^/]+)/1.1.6/(.*)$
https://nightlies.apache.org/pekko/docs/$1/1.1.6/docs/$2 [P]
+RewriteRule ^api/([^/]+)/1.1.6/(.*)$
https://nightlies.apache.org/pekko/docs/$1/1.1.6/api/$2 [P]
+RewriteRule ^japi/([^/]+)/1.1.6/(.*)$
https://nightlies.apache.org/pekko/docs/$1/1.1.6/japi/$2 [P]
+# 1.2.0 redirect
+RewriteRule ^docs/([^/]+)/1.2.0/(.*)$
https://nightlies.apache.org/pekko/docs/$1/1.2.0/docs/$2 [P]
+RewriteRule ^api/([^/]+)/1.2.0/(.*)$
https://nightlies.apache.org/pekko/docs/$1/1.2.0/api/$2 [P]
+RewriteRule ^japi/([^/]+)/1.2.0/(.*)$
https://nightlies.apache.org/pekko/docs/$1/1.2.0/japi/$2 [P]
+# 1.2.1 redirect
+RewriteRule ^docs/([^/]+)/1.2.1/(.*)$
https://nightlies.apache.org/pekko/docs/$1/1.2.1/docs/$2 [P]
+RewriteRule ^api/([^/]+)/1.2.1/(.*)$
https://nightlies.apache.org/pekko/docs/$1/1.2.1/api/$2 [P]
+RewriteRule ^japi/([^/]+)/1.2.1/(.*)$
https://nightlies.apache.org/pekko/docs/$1/1.2.1/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]