aboutsummaryrefslogtreecommitdiffstats
path: root/modules/phpbb/templates/forums_vhost.conf
diff options
context:
space:
mode:
authorNicolas Vigier <boklm@mageia.org>2011-06-30 22:30:29 +0000
committerNicolas Vigier <boklm@mageia.org>2011-06-30 22:30:29 +0000
commitb90d3d320541022f80cc7d991cf12a1c0bd5c419 (patch)
tree06143c41ef93153bac48e680986631e7828583ac /modules/phpbb/templates/forums_vhost.conf
parent4ca940764344a531634a96ca4505a59cb32890ea (diff)
downloadpuppet-b90d3d320541022f80cc7d991cf12a1c0bd5c419.tar
puppet-b90d3d320541022f80cc7d991cf12a1c0bd5c419.tar.gz
puppet-b90d3d320541022f80cc7d991cf12a1c0bd5c419.tar.bz2
puppet-b90d3d320541022f80cc7d991cf12a1c0bd5c419.tar.xz
puppet-b90d3d320541022f80cc7d991cf12a1c0bd5c419.zip
add redirect for URLs not ending with /
Diffstat (limited to 'modules/phpbb/templates/forums_vhost.conf')
-rw-r--r--modules/phpbb/templates/forums_vhost.conf1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/phpbb/templates/forums_vhost.conf b/modules/phpbb/templates/forums_vhost.conf
index 495a3962..2c715485 100644
--- a/modules/phpbb/templates/forums_vhost.conf
+++ b/modules/phpbb/templates/forums_vhost.conf
@@ -8,6 +8,7 @@
# using Redirect create a loop, so we use mod_rewrite here
RewriteEngine On
RewriteRule ^/$ /en/ [R]
+ RewriteRule ^/(..)$ /$1/ [R]
AliasMatch ^/(..)/(.*) <%= forums_dir %>/$1/phpBB/$2