aboutsummaryrefslogtreecommitdiffstats
path: root/modules/apache/templates/vhost_catalyst_app.conf
diff options
context:
space:
mode:
Diffstat (limited to 'modules/apache/templates/vhost_catalyst_app.conf')
-rw-r--r--modules/apache/templates/vhost_catalyst_app.conf4
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/apache/templates/vhost_catalyst_app.conf b/modules/apache/templates/vhost_catalyst_app.conf
index 254801aa..a3aee804 100644
--- a/modules/apache/templates/vhost_catalyst_app.conf
+++ b/modules/apache/templates/vhost_catalyst_app.conf
@@ -2,7 +2,9 @@
ServerName <%= name %>
# Serve static content directly
DocumentRoot /dev/null
-
+<% if location then %>
+ Alias /static <%= location %>/root/static
+<% endif %>
Alias / <%= script %>/
FastCgiServer <%= script %> -processes <%= process %> -idle-timeout 30