diff options
Diffstat (limited to 'modules/apache/templates')
-rw-r--r-- | modules/apache/templates/vhost_catalyst_app.conf | 5 |
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 |