aboutsummaryrefslogtreecommitdiffstats
path: root/modules/apache
diff options
context:
space:
mode:
Diffstat (limited to 'modules/apache')
-rw-r--r--modules/apache/templates/vhost_base.conf6
1 files changed, 4 insertions, 2 deletions
diff --git a/modules/apache/templates/vhost_base.conf b/modules/apache/templates/vhost_base.conf
index 4d3def50..3baa6817 100644
--- a/modules/apache/templates/vhost_base.conf
+++ b/modules/apache/templates/vhost_base.conf
@@ -32,9 +32,11 @@ end
UserDir disabled
</IfModule>
<%- end -%>
-<%- aliases.each_pair do |key,value| -%>
- Alias <%= key %> <%= value %>
+
+<%- aliases.keys.sort {|a,b| a.size <=> b.size }.reverse.each do |key| -%>
+ Alias <%= key %> <%= aliases[key] %>
<%- end -%>
+
<%= content %>
<Location />