From 27cae9c6d09cc95ad69fbc97ac74b4dfec43a9b9 Mon Sep 17 00:00:00 2001 From: Nicolas Vigier Date: Sun, 6 Oct 2013 18:16:53 +0000 Subject: Prevent access to the register URL on the forums --- manifests/nodes/alamut.pp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'manifests/nodes/alamut.pp') diff --git a/manifests/nodes/alamut.pp b/manifests/nodes/alamut.pp index 97788717..913cea15 100644 --- a/manifests/nodes/alamut.pp +++ b/manifests/nodes/alamut.pp @@ -54,6 +54,10 @@ node alamut { url => "https://forums.$domain/", vhost => "forums.$domain", use_ssl => true, + content => ' + RewriteCond %{QUERY_STRING} mode=register + RewriteRule ^ucp.php - [forbidden] + ', } include tld_redirections -- cgit v1.2.1