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

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


The following commit(s) were added to refs/heads/asf-staging by this push:
     new 323350f7 Update .htaccess - redirect current as well as snapshot
323350f7 is described below

commit 323350f7ec5237dc6884c604662c27a65f34fe62
Author: PJ Fanning <[email protected]>
AuthorDate: Sat May 6 11:30:38 2023 +0100

    Update .htaccess - redirect current as well as snapshot
---
 content/.htaccess | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/content/.htaccess b/content/.htaccess
index cc4be665..cd5ac9ce 100644
--- a/content/.htaccess
+++ b/content/.htaccess
@@ -2,3 +2,6 @@ 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]
+RewriteRule ^docs/([^/]+)/current/(.*)$ 
https://nightlies.apache.org/pekko/docs/$1/main-snapshot/docs/$2 [P]
+RewriteRule ^api/([^/]+)/current/(.*)$ 
https://nightlies.apache.org/pekko/docs/$1/main-snapshot/api/$2 [P]
+RewriteRule ^japi/([^/]+)/current/(.*)$ 
https://nightlies.apache.org/pekko/docs/$1/main-snapshot/japi/$2 [P]


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

Reply via email to