You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jdo-dev@db.apache.org by to...@apache.org on 2021/01/28 19:28:36 UTC
[db-jdo-site] 01/03: Adjust hosting configuration to match new setup
This is an automated email from the ASF dual-hosted git repository.
tobous pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/db-jdo-site.git
commit 766f6b85148aef2d0253dfaec828f6caee293809
Author: Tobias Bouschen <to...@googlemail.com>
AuthorDate: Tue Jan 26 13:59:57 2021 +0100
Adjust hosting configuration to match new setup
Adjusts the publishing '.asf.yaml' configuration to use 'content/jdo' as
the subdir.
Adds '.htaccess', setting up URL forwarding from 'db.apache.org/jdo/*'
to 'db.apache.org/content/jdo/*'. This was done to act as if the website
were hosted under 'jdo' directly.
---
.asf.yaml.publish | 2 +-
.htaccess | 3 +++
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/.asf.yaml.publish b/.asf.yaml.publish
index b08720c..f72b21b 100644
--- a/.asf.yaml.publish
+++ b/.asf.yaml.publish
@@ -3,4 +3,4 @@
# This file is only used on the site publishing branch
publish:
whoami: publish
- subdir: jdo
+ subdir: content/jdo
diff --git a/.htaccess b/.htaccess
new file mode 100644
index 0000000..ebd3035
--- /dev/null
+++ b/.htaccess
@@ -0,0 +1,3 @@
+RewriteEngine On
+RewriteBase /jdo/
+RewriteRule ^(?!content/)(.*)$ content/$1