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

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

commit 95df19ecf5df4ff031fb8b486a6c4dd55d1049f7
Author: PJ Fanning <[email protected]>
AuthorDate: Sat May 6 11:32:26 2023 +0100

    Create .htaccess
    
    based on changes made by @jrudolph
---
 src/main/paradox/.htaccess | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/src/main/paradox/.htaccess b/src/main/paradox/.htaccess
new file mode 100644
index 00000000..cd5ac9ce
--- /dev/null
+++ b/src/main/paradox/.htaccess
@@ -0,0 +1,7 @@
+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