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 a1b1984b support 1.1.0 redirects (#123)
a1b1984b is described below
commit a1b1984b710e4b7a5b53cb7e38b57dfebe51efa8
Author: PJ Fanning <[email protected]>
AuthorDate: Wed Sep 4 10:16:38 2024 +0100
support 1.1.0 redirects (#123)
---
content/.htaccess | 16 ++++++++++++----
src/main/public/.htaccess | 16 ++++++++++++----
2 files changed, 24 insertions(+), 8 deletions(-)
diff --git a/content/.htaccess b/content/.htaccess
index 1c651ba1..d9915ece 100644
--- a/content/.htaccess
+++ b/content/.htaccess
@@ -3,10 +3,10 @@ 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]
-# pekko/current gets redirected to pekko/1.0.2
-RewriteRule ^docs/pekko/current/(.*)$
https://nightlies.apache.org/pekko/docs/pekko/1.0.2/docs/$1 [P]
-RewriteRule ^api/pekko/current/(.*)$
https://nightlies.apache.org/pekko/docs/pekko/1.0.2/api/$1 [P]
-RewriteRule ^japi/pekko/current/(.*)$
https://nightlies.apache.org/pekko/docs/pekko/1.0.2/japi/$1 [P]
+# pekko/current gets redirected to pekko/1.0.3
+RewriteRule ^docs/pekko/current/(.*)$
https://nightlies.apache.org/pekko/docs/pekko/1.0.3/docs/$1 [P]
+RewriteRule ^api/pekko/current/(.*)$
https://nightlies.apache.org/pekko/docs/pekko/1.0.3/api/$1 [P]
+RewriteRule ^japi/pekko/current/(.*)$
https://nightlies.apache.org/pekko/docs/pekko/1.0.3/japi/$1 [P]
# pekko-http/current gets redirected to pekko-http/1.0.1
RewriteRule ^docs/pekko-http/current/(.*)$
https://nightlies.apache.org/pekko/docs/pekko-http/1.0.1/docs/$1 [P]
RewriteRule ^api/pekko-http/current/(.*)$
https://nightlies.apache.org/pekko/docs/pekko-http/1.0.1/api/$1 [P]
@@ -51,6 +51,14 @@ RewriteRule ^japi/([^/]+)/1.0.1/(.*)$
https://nightlies.apache.org/pekko/docs/$1
RewriteRule ^docs/([^/]+)/1.0.2/(.*)$
https://nightlies.apache.org/pekko/docs/$1/1.0.2/docs/$2 [P]
RewriteRule ^api/([^/]+)/1.0.2/(.*)$
https://nightlies.apache.org/pekko/docs/$1/1.0.2/api/$2 [P]
RewriteRule ^japi/([^/]+)/1.0.2/(.*)$
https://nightlies.apache.org/pekko/docs/$1/1.0.2/japi/$2 [P]
+# 1.0.3 redirect
+RewriteRule ^docs/([^/]+)/1.0.3/(.*)$
https://nightlies.apache.org/pekko/docs/$1/1.0.3/docs/$2 [P]
+RewriteRule ^api/([^/]+)/1.0.3/(.*)$
https://nightlies.apache.org/pekko/docs/$1/1.0.3/api/$2 [P]
+RewriteRule ^japi/([^/]+)/1.0.3/(.*)$
https://nightlies.apache.org/pekko/docs/$1/1.0.3/japi/$2 [P]
+# 1.1.0 redirect
+RewriteRule ^docs/([^/]+)/1.1.0/(.*)$
https://nightlies.apache.org/pekko/docs/$1/1.1.0/docs/$2 [P]
+RewriteRule ^api/([^/]+)/1.1.0/(.*)$
https://nightlies.apache.org/pekko/docs/$1/1.1.0/api/$2 [P]
+RewriteRule ^japi/([^/]+)/1.1.0/(.*)$
https://nightlies.apache.org/pekko/docs/$1/1.1.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 1c651ba1..d9915ece 100644
--- a/src/main/public/.htaccess
+++ b/src/main/public/.htaccess
@@ -3,10 +3,10 @@ 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]
-# pekko/current gets redirected to pekko/1.0.2
-RewriteRule ^docs/pekko/current/(.*)$
https://nightlies.apache.org/pekko/docs/pekko/1.0.2/docs/$1 [P]
-RewriteRule ^api/pekko/current/(.*)$
https://nightlies.apache.org/pekko/docs/pekko/1.0.2/api/$1 [P]
-RewriteRule ^japi/pekko/current/(.*)$
https://nightlies.apache.org/pekko/docs/pekko/1.0.2/japi/$1 [P]
+# pekko/current gets redirected to pekko/1.0.3
+RewriteRule ^docs/pekko/current/(.*)$
https://nightlies.apache.org/pekko/docs/pekko/1.0.3/docs/$1 [P]
+RewriteRule ^api/pekko/current/(.*)$
https://nightlies.apache.org/pekko/docs/pekko/1.0.3/api/$1 [P]
+RewriteRule ^japi/pekko/current/(.*)$
https://nightlies.apache.org/pekko/docs/pekko/1.0.3/japi/$1 [P]
# pekko-http/current gets redirected to pekko-http/1.0.1
RewriteRule ^docs/pekko-http/current/(.*)$
https://nightlies.apache.org/pekko/docs/pekko-http/1.0.1/docs/$1 [P]
RewriteRule ^api/pekko-http/current/(.*)$
https://nightlies.apache.org/pekko/docs/pekko-http/1.0.1/api/$1 [P]
@@ -51,6 +51,14 @@ RewriteRule ^japi/([^/]+)/1.0.1/(.*)$
https://nightlies.apache.org/pekko/docs/$1
RewriteRule ^docs/([^/]+)/1.0.2/(.*)$
https://nightlies.apache.org/pekko/docs/$1/1.0.2/docs/$2 [P]
RewriteRule ^api/([^/]+)/1.0.2/(.*)$
https://nightlies.apache.org/pekko/docs/$1/1.0.2/api/$2 [P]
RewriteRule ^japi/([^/]+)/1.0.2/(.*)$
https://nightlies.apache.org/pekko/docs/$1/1.0.2/japi/$2 [P]
+# 1.0.3 redirect
+RewriteRule ^docs/([^/]+)/1.0.3/(.*)$
https://nightlies.apache.org/pekko/docs/$1/1.0.3/docs/$2 [P]
+RewriteRule ^api/([^/]+)/1.0.3/(.*)$
https://nightlies.apache.org/pekko/docs/$1/1.0.3/api/$2 [P]
+RewriteRule ^japi/([^/]+)/1.0.3/(.*)$
https://nightlies.apache.org/pekko/docs/$1/1.0.3/japi/$2 [P]
+# 1.1.0 redirect
+RewriteRule ^docs/([^/]+)/1.1.0/(.*)$
https://nightlies.apache.org/pekko/docs/$1/1.1.0/docs/$2 [P]
+RewriteRule ^api/([^/]+)/1.1.0/(.*)$
https://nightlies.apache.org/pekko/docs/$1/1.1.0/api/$2 [P]
+RewriteRule ^japi/([^/]+)/1.1.0/(.*)$
https://nightlies.apache.org/pekko/docs/$1/1.1.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]