This is an automated email from the ASF dual-hosted git repository. fanningpj pushed a commit to branch migration-redirect in repository https://gitbox.apache.org/repos/asf/pekko-site.git
commit e36071c268bc940876bf3a4da45fc979321a2346 Author: PJ Fanning <[email protected]> AuthorDate: Mon Sep 16 13:14:15 2024 +0100 redirect broken migration doc link --- content/.htaccess | 2 ++ src/main/public/.htaccess | 2 ++ 2 files changed, 4 insertions(+) diff --git a/content/.htaccess b/content/.htaccess index 228bb34f..558cd16b 100644 --- a/content/.htaccess +++ b/content/.htaccess @@ -3,6 +3,8 @@ 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] +# broken current links in legacy docs +RewriteRule ^docs/pekko/current/project/migration-guides.html https://pekko.apache.org/docs/pekko/current/migration/migration-guide-akka-1.0.x.html [P] # pekko/current gets redirected to pekko/1.1.1 RewriteRule ^docs/pekko/current/(.*)$ https://nightlies.apache.org/pekko/docs/pekko/1.1.1/docs/$1 [P] RewriteRule ^api/pekko/current/(.*)$ https://nightlies.apache.org/pekko/docs/pekko/1.1.1/api/$1 [P] diff --git a/src/main/public/.htaccess b/src/main/public/.htaccess index 228bb34f..558cd16b 100644 --- a/src/main/public/.htaccess +++ b/src/main/public/.htaccess @@ -3,6 +3,8 @@ 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] +# broken current links in legacy docs +RewriteRule ^docs/pekko/current/project/migration-guides.html https://pekko.apache.org/docs/pekko/current/migration/migration-guide-akka-1.0.x.html [P] # pekko/current gets redirected to pekko/1.1.1 RewriteRule ^docs/pekko/current/(.*)$ https://nightlies.apache.org/pekko/docs/pekko/1.1.1/docs/$1 [P] RewriteRule ^api/pekko/current/(.*)$ https://nightlies.apache.org/pekko/docs/pekko/1.1.1/api/$1 [P] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
