aboutsummaryrefslogtreecommitdiffstats
path: root/deployment/websites/templates
diff options
context:
space:
mode:
authorMichael Scherer <misc@mageia.org>2012-01-16 19:17:29 +0000
committerMichael Scherer <misc@mageia.org>2012-01-16 19:17:29 +0000
commit749d451eed4285c0552413b02b6dbea931c0c28e (patch)
tree96e0468d61f210dedc5b64541e7e5444ad96b852 /deployment/websites/templates
parentedede56b2b5872feba831b05a2a374017f6a41d9 (diff)
downloadpuppet-749d451eed4285c0552413b02b6dbea931c0c28e.tar
puppet-749d451eed4285c0552413b02b6dbea931c0c28e.tar.gz
puppet-749d451eed4285c0552413b02b6dbea931c0c28e.tar.bz2
puppet-749d451eed4285c0552413b02b6dbea931c0c28e.tar.xz
puppet-749d451eed4285c0552413b02b6dbea931c0c28e.zip
also make the redirection work for pipermail, as seen by leuhmanu
Diffstat (limited to 'deployment/websites/templates')
-rw-r--r--deployment/websites/templates/vhost_proxy_mailman.conf6
-rw-r--r--deployment/websites/templates/vhost_proxy_mailman_ssl.conf6
2 files changed, 8 insertions, 4 deletions
diff --git a/deployment/websites/templates/vhost_proxy_mailman.conf b/deployment/websites/templates/vhost_proxy_mailman.conf
index e57679b4..ef447f9c 100644
--- a/deployment/websites/templates/vhost_proxy_mailman.conf
+++ b/deployment/websites/templates/vhost_proxy_mailman.conf
@@ -7,6 +7,8 @@ ProxyPreserveHost On
Allow from all
</Proxy>
-ProxyPass /mailman/ http://ryu.zarb.org/mailman/
-ProxyPassReverse /mailman/ http://ryu.zarb.org/mailman/
+<% for u in ['/mailman/','/pipermail/'] %>
+ProxyPass <%= u %> http://ryu.zarb.org<%= u %>
+ProxyPassReverse <%= u %> http://ryu.zarb.org<%= u %>
+<% end %>
diff --git a/deployment/websites/templates/vhost_proxy_mailman_ssl.conf b/deployment/websites/templates/vhost_proxy_mailman_ssl.conf
index 479b912d..e5fcfbe1 100644
--- a/deployment/websites/templates/vhost_proxy_mailman_ssl.conf
+++ b/deployment/websites/templates/vhost_proxy_mailman_ssl.conf
@@ -9,6 +9,8 @@ ProxyPreserveHost On
SSLProxyEngine On
-ProxyPass /mailman/ https://ryu.zarb.org/mailman/
-ProxyPassReverse /mailman/ https://ryu.zarb.org/mailman/
+<% for u in ['/mailman/','/pipermail/'] %>
+ProxyPass <%= u %> https://ryu.zarb.org<%= u %>
+ProxyPassReverse <%= u %> https://ryu.zarb.org<%= u %>
+<% end %>