aboutsummaryrefslogtreecommitdiffstats
path: root/modules/apache/templates
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@mageia.org>2014-04-04 11:46:45 +0000
committerPascal Terjan <pterjan@mageia.org>2014-04-04 11:46:45 +0000
commit21af2f933a3472a44ed1a8c1082c4e68f530ec5b (patch)
tree45bf916907845ba31eb9fe4c599a9b6071e5a1df /modules/apache/templates
parent61706b9928c2e306cc8064cb0873b1060087495e (diff)
downloadpuppet-21af2f933a3472a44ed1a8c1082c4e68f530ec5b.tar
puppet-21af2f933a3472a44ed1a8c1082c4e68f530ec5b.tar.gz
puppet-21af2f933a3472a44ed1a8c1082c4e68f530ec5b.tar.bz2
puppet-21af2f933a3472a44ed1a8c1082c4e68f530ec5b.tar.xz
puppet-21af2f933a3472a44ed1a8c1082c4e68f530ec5b.zip
Attempt to support alias in catalyst_app
Diffstat (limited to 'modules/apache/templates')
-rw-r--r--modules/apache/templates/vhost_catalyst_app.conf5
1 files changed, 2 insertions, 3 deletions
diff --git a/modules/apache/templates/vhost_catalyst_app.conf b/modules/apache/templates/vhost_catalyst_app.conf
index eaa652d7..13b73cc0 100644
--- a/modules/apache/templates/vhost_catalyst_app.conf
+++ b/modules/apache/templates/vhost_catalyst_app.conf
@@ -1,5 +1,4 @@
-<%- if location != '' then -%>
-Alias /static <%= location %>/root/static
+<%- aliases.keys.sort {|a,b| a.size <=> b.size }.reverse.each do |key| -%>
+ Alias <%= key %> <%= aliases[key] %>
<%- end -%>
-Alias / <%= script %>/
FastCgiServer <%= script %> -processes <%= process %> -idle-timeout 30