From fcc182c0b6a118044d55ecbda417ce816b6849d2 Mon Sep 17 00:00:00 2001 From: Michael Scherer Date: Tue, 19 Apr 2011 11:14:43 +0000 Subject: add forgotten file on previous commit, to make sure that non hosted forum will be handled --- modules/phpbb/templates/forums_redirect.conf | 2 ++ modules/phpbb/templates/forums_vhost.conf | 4 ++++ 2 files changed, 6 insertions(+) create mode 100644 modules/phpbb/templates/forums_redirect.conf diff --git a/modules/phpbb/templates/forums_redirect.conf b/modules/phpbb/templates/forums_redirect.conf new file mode 100644 index 00000000..451be7a3 --- /dev/null +++ b/modules/phpbb/templates/forums_redirect.conf @@ -0,0 +1,2 @@ +Redirect /$lang $url +Redirect /$lang/ $url diff --git a/modules/phpbb/templates/forums_vhost.conf b/modules/phpbb/templates/forums_vhost.conf index e4060ce0..495a3962 100644 --- a/modules/phpbb/templates/forums_vhost.conf +++ b/modules/phpbb/templates/forums_vhost.conf @@ -1,5 +1,9 @@ # TODO redirect based on language settings # and the presence of the forum + + # for locale redirection + Include conf/vhosts.d/forums.d/*.conf + # using Redirect create a loop, so we use mod_rewrite here RewriteEngine On -- cgit v1.2.1