diff options
author | Michael Scherer <misc@mageia.org> | 2012-01-16 19:17:29 +0000 |
---|---|---|
committer | Michael Scherer <misc@mageia.org> | 2012-01-16 19:17:29 +0000 |
commit | 749d451eed4285c0552413b02b6dbea931c0c28e (patch) | |
tree | 96e0468d61f210dedc5b64541e7e5444ad96b852 | |
parent | edede56b2b5872feba831b05a2a374017f6a41d9 (diff) | |
download | puppet-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
-rw-r--r-- | deployment/websites/templates/vhost_proxy_mailman.conf | 6 | ||||
-rw-r--r-- | deployment/websites/templates/vhost_proxy_mailman_ssl.conf | 6 |
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 %> |