aboutsummaryrefslogtreecommitdiffstats
path: root/modules/phpbb/templates
diff options
context:
space:
mode:
authorJani Välimaa <wally@mageia.org>2025-05-04 12:40:32 +0300
committerJani Välimaa <wally@mageia.org>2025-05-04 12:40:32 +0300
commitc4677d4637ac0277f24747762d549f467b4ae43d (patch)
tree57c219c009c6d061cae61e703a228a89cf600fec /modules/phpbb/templates
parentf6411954df2c29bec5db57c10caf02a99cc5dc1c (diff)
downloadpuppet-c4677d4637ac0277f24747762d549f467b4ae43d.tar
puppet-c4677d4637ac0277f24747762d549f467b4ae43d.tar.gz
puppet-c4677d4637ac0277f24747762d549f467b4ae43d.tar.bz2
puppet-c4677d4637ac0277f24747762d549f467b4ae43d.tar.xz
puppet-c4677d4637ac0277f24747762d549f467b4ae43d.zip
Add robots.txt for forums
Diffstat (limited to 'modules/phpbb/templates')
-rw-r--r--modules/phpbb/templates/forums_vhost.conf2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/phpbb/templates/forums_vhost.conf b/modules/phpbb/templates/forums_vhost.conf
index d60e65ab..440dad1f 100644
--- a/modules/phpbb/templates/forums_vhost.conf
+++ b/modules/phpbb/templates/forums_vhost.conf
@@ -13,6 +13,8 @@
RewriteRule ^/$ /en/ [R]
RewriteRule ^/(..)$ /$1/ [R]
+ Alias /robots.txt <%= forums_dir %>/robots.txt
+
AliasMatch ^/(..)/(.*) <%= forums_dir %>/$1/phpBB/$2
<Directory ~ "<%= forums_dir %>/.*/phpBB/">