This is an automated email from the ASF dual-hosted git repository.
engelen 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 00f178c5 redirect 1.1 docs (#110)
00f178c5 is described below
commit 00f178c5f25491510b9b70696a80d6684002c143
Author: PJ Fanning <[email protected]>
AuthorDate: Sun May 19 11:30:18 2024 +0100
redirect 1.1 docs (#110)
---
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]