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/26 12:38:33 UTC

[db-jdo-site] branch publish updated: Add .htaccess to automatically redirect to 'jdo/content/*'

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

tobous pushed a commit to branch publish
in repository https://gitbox.apache.org/repos/asf/db-jdo-site.git


The following commit(s) were added to refs/heads/publish by this push:
     new 5990ca3  Add .htaccess to automatically redirect to 'jdo/content/*'
5990ca3 is described below

commit 5990ca309c0758e347bddbfcc56e81cdf41c1b1a
Author: Tobias Bouschen <to...@googlemail.com>
AuthorDate: Tue Jan 26 13:36:13 2021 +0100

    Add .htaccess to automatically redirect to 'jdo/content/*'
    
    This configuration matches the one present before the move to a separate
    publishing branch.
---
 .htaccess | 3 +++
 1 file changed, 3 insertions(+)

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