diff options
author | Michael Scherer <misc@mageia.org> | 2011-04-19 11:14:43 +0000 |
---|---|---|
committer | Michael Scherer <misc@mageia.org> | 2011-04-19 11:14:43 +0000 |
commit | fcc182c0b6a118044d55ecbda417ce816b6849d2 (patch) | |
tree | 5cd5e3f4fb649c358dd31af7077db673524da36c /modules/phpbb | |
parent | b9c3d490b43aaf20c4ea93855709c2465c0d8615 (diff) | |
download | puppet-fcc182c0b6a118044d55ecbda417ce816b6849d2.tar puppet-fcc182c0b6a118044d55ecbda417ce816b6849d2.tar.gz puppet-fcc182c0b6a118044d55ecbda417ce816b6849d2.tar.bz2 puppet-fcc182c0b6a118044d55ecbda417ce816b6849d2.tar.xz puppet-fcc182c0b6a118044d55ecbda417ce816b6849d2.zip |
add forgotten file on previous commit, to make sure that non hosted forum will
be handled
Diffstat (limited to 'modules/phpbb')
-rw-r--r-- | modules/phpbb/templates/forums_redirect.conf | 2 | ||||
-rw-r--r-- | modules/phpbb/templates/forums_vhost.conf | 4 |
2 files changed, 6 insertions, 0 deletions
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 |