diff options
author | Nicolas Vigier <boklm@mageia.org> | 2013-10-06 18:16:53 +0000 |
---|---|---|
committer | Nicolas Vigier <boklm@mageia.org> | 2013-10-06 18:16:53 +0000 |
commit | 27cae9c6d09cc95ad69fbc97ac74b4dfec43a9b9 (patch) | |
tree | c4436cab282aec2b4b0df0bb9f21dfa6114fe187 | |
parent | c2658e1b31c3ef767fb21e1955f514453732523e (diff) | |
download | puppet-27cae9c6d09cc95ad69fbc97ac74b4dfec43a9b9.tar puppet-27cae9c6d09cc95ad69fbc97ac74b4dfec43a9b9.tar.gz puppet-27cae9c6d09cc95ad69fbc97ac74b4dfec43a9b9.tar.bz2 puppet-27cae9c6d09cc95ad69fbc97ac74b4dfec43a9b9.tar.xz puppet-27cae9c6d09cc95ad69fbc97ac74b4dfec43a9b9.zip |
Prevent access to the register URL on the forums
-rw-r--r-- | manifests/nodes/alamut.pp | 4 |
1 files changed, 4 insertions, 0 deletions
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 |