This is an automated email from the ASF dual-hosted git repository. fanningpj pushed a commit to branch 1.0.2-redirect in repository https://gitbox.apache.org/repos/asf/incubator-pekko-site.git
commit 14fdcd567ccdb6569068cec1ed54d26db942765b Author: PJ Fanning <[email protected]> AuthorDate: Sat Dec 2 10:12:07 2023 +0100 1.0.2 redirect --- content/.htaccess | 12 ++++++++---- src/main/public/.htaccess | 12 ++++++++---- 2 files changed, 16 insertions(+), 8 deletions(-) diff --git a/content/.htaccess b/content/.htaccess index 591d688f..c65298dc 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.1 -RewriteRule ^docs/pekko/current/(.*)$ https://nightlies.apache.org/pekko/docs/pekko/1.0.1/docs/$1 [P] -RewriteRule ^api/pekko/current/(.*)$ https://nightlies.apache.org/pekko/docs/pekko/1.0.1/api/$1 [P] -RewriteRule ^japi/pekko/current/(.*)$ https://nightlies.apache.org/pekko/docs/pekko/1.0.1/japi/$1 [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-http/current gets redirected to pekko-http/1.0.0 RewriteRule ^docs/pekko-http/current/(.*)$ https://nightlies.apache.org/pekko/docs/pekko-http/1.0.0/docs/$1 [P] RewriteRule ^api/pekko-http/current/(.*)$ https://nightlies.apache.org/pekko/docs/pekko-http/1.0.0/api/$1 [P] @@ -44,6 +44,10 @@ RewriteRule ^japi/([^/]+)/1.0.0/(.*)$ https://nightlies.apache.org/pekko/docs/$1 RewriteRule ^docs/([^/]+)/1.0.1/(.*)$ https://nightlies.apache.org/pekko/docs/$1/1.0.1/docs/$2 [P] RewriteRule ^api/([^/]+)/1.0.1/(.*)$ https://nightlies.apache.org/pekko/docs/$1/1.0.1/api/$2 [P] RewriteRule ^japi/([^/]+)/1.0.1/(.*)$ https://nightlies.apache.org/pekko/docs/$1/1.0.1/japi/$2 [P] +# 1.0.2 redirect +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 redirect 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] diff --git a/src/main/public/.htaccess b/src/main/public/.htaccess index 591d688f..c65298dc 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.1 -RewriteRule ^docs/pekko/current/(.*)$ https://nightlies.apache.org/pekko/docs/pekko/1.0.1/docs/$1 [P] -RewriteRule ^api/pekko/current/(.*)$ https://nightlies.apache.org/pekko/docs/pekko/1.0.1/api/$1 [P] -RewriteRule ^japi/pekko/current/(.*)$ https://nightlies.apache.org/pekko/docs/pekko/1.0.1/japi/$1 [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-http/current gets redirected to pekko-http/1.0.0 RewriteRule ^docs/pekko-http/current/(.*)$ https://nightlies.apache.org/pekko/docs/pekko-http/1.0.0/docs/$1 [P] RewriteRule ^api/pekko-http/current/(.*)$ https://nightlies.apache.org/pekko/docs/pekko-http/1.0.0/api/$1 [P] @@ -44,6 +44,10 @@ RewriteRule ^japi/([^/]+)/1.0.0/(.*)$ https://nightlies.apache.org/pekko/docs/$1 RewriteRule ^docs/([^/]+)/1.0.1/(.*)$ https://nightlies.apache.org/pekko/docs/$1/1.0.1/docs/$2 [P] RewriteRule ^api/([^/]+)/1.0.1/(.*)$ https://nightlies.apache.org/pekko/docs/$1/1.0.1/api/$2 [P] RewriteRule ^japi/([^/]+)/1.0.1/(.*)$ https://nightlies.apache.org/pekko/docs/$1/1.0.1/japi/$2 [P] +# 1.0.2 redirect +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 redirect 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
