This is an automated email from the ASF dual-hosted git repository. fanningpj pushed a commit to branch redirects in repository https://gitbox.apache.org/repos/asf/pekko-site.git
commit db7fd157788f37c30e2b44dd5579c91504981577 Author: PJ Fanning <[email protected]> AuthorDate: Tue Sep 3 21:28:18 2024 +0100 support 1.1.0 redirects --- 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]
