aboutsummaryrefslogtreecommitdiffstats
path: root/modules/apache/templates
diff options
context:
space:
mode:
authorMichael Scherer <misc@mageia.org>2010-11-05 23:29:16 +0000
committerMichael Scherer <misc@mageia.org>2010-11-05 23:29:16 +0000
commitb2209850b0659eb299632c54ece079477fc50246 (patch)
tree33a2eaed47114136c340f63278aa4cb1719343e1 /modules/apache/templates
parent716e45e75a8cd994c701f91d20834719c2024ad6 (diff)
downloadpuppet-b2209850b0659eb299632c54ece079477fc50246.tar
puppet-b2209850b0659eb299632c54ece079477fc50246.tar.gz
puppet-b2209850b0659eb299632c54ece079477fc50246.tar.bz2
puppet-b2209850b0659eb299632c54ece079477fc50246.tar.xz
puppet-b2209850b0659eb299632c54ece079477fc50246.zip
- add a define to ease catalyst application deployement
Diffstat (limited to 'modules/apache/templates')
-rw-r--r--modules/apache/templates/vhost_catalyst_app.conf13
1 files changed, 13 insertions, 0 deletions
diff --git a/modules/apache/templates/vhost_catalyst_app.conf b/modules/apache/templates/vhost_catalyst_app.conf
new file mode 100644
index 00000000..29ca7c74
--- /dev/null
+++ b/modules/apache/templates/vhost_catalyst_app.conf
@@ -0,0 +1,13 @@
+<VirtualHost *:80>
+ ServerName <%= vhost %>
+ # Serve static content directly
+ DocumentRoot /dev/null
+
+ Alias <%= script %>/ /
+ FastCgiServer <%= script %> -processes <%= process %> -idle-timeout 30
+
+ <Location />
+ Allow from all
+ </Location>
+</VirtualHost>
+