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 ed6826c3 redirects for 1.2 and 1.3 (#162)
ed6826c3 is described below

commit ed6826c32f38fb3a1f7d814dadabfcf429d426c5
Author: PJ Fanning <[email protected]>
AuthorDate: Mon Jul 28 10:57:32 2025 +0100

    redirects for 1.2 and 1.3 (#162)
---
 content/.htaccess         | 8 ++++++++
 src/main/public/.htaccess | 8 ++++++++
 2 files changed, 16 insertions(+)

diff --git a/content/.htaccess b/content/.htaccess
index 06510f18..ae2865db 100644
--- a/content/.htaccess
+++ b/content/.htaccess
@@ -49,6 +49,14 @@ RewriteRule ^japi/([^/]+)/1.0/(.*)$ 
https://nightlies.apache.org/pekko/docs/$1/1
 RewriteRule ^docs/([^/]+)/1.1/(.*)$ 
https://nightlies.apache.org/pekko/docs/$1/1.1/docs/$2 [P]
 RewriteRule ^api/([^/]+)/1.1/(.*)$ 
https://nightlies.apache.org/pekko/docs/$1/1.1/api/$2 [P]
 RewriteRule ^japi/([^/]+)/1.1/(.*)$ 
https://nightlies.apache.org/pekko/docs/$1/1.1/japi/$2 [P]
+# 1.2 redirect
+RewriteRule ^docs/([^/]+)/1.2/(.*)$ 
https://nightlies.apache.org/pekko/docs/$1/1.2/docs/$2 [P]
+RewriteRule ^api/([^/]+)/1.2/(.*)$ 
https://nightlies.apache.org/pekko/docs/$1/1.2/api/$2 [P]
+RewriteRule ^japi/([^/]+)/1.2/(.*)$ 
https://nightlies.apache.org/pekko/docs/$1/1.2/japi/$2 [P]
+# 1.3 redirect
+RewriteRule ^docs/([^/]+)/1.3/(.*)$ 
https://nightlies.apache.org/pekko/docs/$1/1.3/docs/$2 [P]
+RewriteRule ^api/([^/]+)/1.3/(.*)$ 
https://nightlies.apache.org/pekko/docs/$1/1.3/api/$2 [P]
+RewriteRule ^japi/([^/]+)/1.3/(.*)$ 
https://nightlies.apache.org/pekko/docs/$1/1.3/japi/$2 [P]
 # 1.0.0 redirect
 RewriteRule ^docs/([^/]+)/1.0.0/(.*)$ 
https://nightlies.apache.org/pekko/docs/$1/1.0.0/docs/$2 [P]
 RewriteRule ^api/([^/]+)/1.0.0/(.*)$ 
https://nightlies.apache.org/pekko/docs/$1/1.0.0/api/$2 [P]
diff --git a/src/main/public/.htaccess b/src/main/public/.htaccess
index 06510f18..ae2865db 100644
--- a/src/main/public/.htaccess
+++ b/src/main/public/.htaccess
@@ -49,6 +49,14 @@ RewriteRule ^japi/([^/]+)/1.0/(.*)$ 
https://nightlies.apache.org/pekko/docs/$1/1
 RewriteRule ^docs/([^/]+)/1.1/(.*)$ 
https://nightlies.apache.org/pekko/docs/$1/1.1/docs/$2 [P]
 RewriteRule ^api/([^/]+)/1.1/(.*)$ 
https://nightlies.apache.org/pekko/docs/$1/1.1/api/$2 [P]
 RewriteRule ^japi/([^/]+)/1.1/(.*)$ 
https://nightlies.apache.org/pekko/docs/$1/1.1/japi/$2 [P]
+# 1.2 redirect
+RewriteRule ^docs/([^/]+)/1.2/(.*)$ 
https://nightlies.apache.org/pekko/docs/$1/1.2/docs/$2 [P]
+RewriteRule ^api/([^/]+)/1.2/(.*)$ 
https://nightlies.apache.org/pekko/docs/$1/1.2/api/$2 [P]
+RewriteRule ^japi/([^/]+)/1.2/(.*)$ 
https://nightlies.apache.org/pekko/docs/$1/1.2/japi/$2 [P]
+# 1.3 redirect
+RewriteRule ^docs/([^/]+)/1.3/(.*)$ 
https://nightlies.apache.org/pekko/docs/$1/1.3/docs/$2 [P]
+RewriteRule ^api/([^/]+)/1.3/(.*)$ 
https://nightlies.apache.org/pekko/docs/$1/1.3/api/$2 [P]
+RewriteRule ^japi/([^/]+)/1.3/(.*)$ 
https://nightlies.apache.org/pekko/docs/$1/1.3/japi/$2 [P]
 # 1.0.0 redirect
 RewriteRule ^docs/([^/]+)/1.0.0/(.*)$ 
https://nightlies.apache.org/pekko/docs/$1/1.0.0/docs/$2 [P]
 RewriteRule ^api/([^/]+)/1.0.0/(.*)$ 
https://nightlies.apache.org/pekko/docs/$1/1.0.0/api/$2 [P]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to