This is an automated email from the ASF dual-hosted git repository.

fanningpj pushed a commit to branch 1.1-redirect
in repository https://gitbox.apache.org/repos/asf/pekko-site.git

commit 4212d38ad34c71e1ee17a12d9213b68fd5d2509f
Author: PJ Fanning <[email protected]>
AuthorDate: Sun May 19 11:06:12 2024 +0100

    redirect 1.1 docs
---
 content/.htaccess         | 4 ++++
 src/main/public/.htaccess | 4 ++++
 2 files changed, 8 insertions(+)

diff --git a/content/.htaccess b/content/.htaccess
index 162488e4..06196279 100644
--- a/content/.htaccess
+++ b/content/.htaccess
@@ -55,6 +55,10 @@ RewriteRule ^japi/([^/]+)/1.0.2/(.*)$ 
https://nightlies.apache.org/pekko/docs/$1
 RewriteRule ^docs/([^/]+)/1.0/(.*)$ 
https://nightlies.apache.org/pekko/docs/$1/1.0/docs/$2 [P]
 RewriteRule ^api/([^/]+)/1.0/(.*)$ 
https://nightlies.apache.org/pekko/docs/$1/1.0/api/$2 [P]
 RewriteRule ^japi/([^/]+)/1.0/(.*)$ 
https://nightlies.apache.org/pekko/docs/$1/1.0/japi/$2 [P]
+# 1.1 redirect
+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]
 # snapshots redirect
 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]
diff --git a/src/main/public/.htaccess b/src/main/public/.htaccess
index 162488e4..06196279 100644
--- a/src/main/public/.htaccess
+++ b/src/main/public/.htaccess
@@ -55,6 +55,10 @@ RewriteRule ^japi/([^/]+)/1.0.2/(.*)$ 
https://nightlies.apache.org/pekko/docs/$1
 RewriteRule ^docs/([^/]+)/1.0/(.*)$ 
https://nightlies.apache.org/pekko/docs/$1/1.0/docs/$2 [P]
 RewriteRule ^api/([^/]+)/1.0/(.*)$ 
https://nightlies.apache.org/pekko/docs/$1/1.0/api/$2 [P]
 RewriteRule ^japi/([^/]+)/1.0/(.*)$ 
https://nightlies.apache.org/pekko/docs/$1/1.0/japi/$2 [P]
+# 1.1 redirect
+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]
 # snapshots redirect
 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]


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

Reply via email to