aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--modules/apache/manifests/vhost/catalyst_app.pp4
-rw-r--r--modules/apache/templates/vhost_catalyst_app.conf5
2 files changed, 5 insertions, 4 deletions
diff --git a/modules/apache/manifests/vhost/catalyst_app.pp b/modules/apache/manifests/vhost/catalyst_app.pp
index 11c77a8a..2dcc9471 100644
--- a/modules/apache/manifests/vhost/catalyst_app.pp
+++ b/modules/apache/manifests/vhost/catalyst_app.pp
@@ -4,13 +4,11 @@ define apache::vhost::catalyst_app( $script,
$use_ssl = false,
$aliases = {},
$vhost = false) {
- include apache::mod::fastcgi
+ include apache::mod::fcgid
if ($location) {
$aliases['/static'] = "${location}/root/static"
}
- $aliases['/'] = "${script}/"
-
apache::vhost::base { $name:
vhost => $vhost,
use_ssl => $use_ssl,
diff --git a/modules/apache/templates/vhost_catalyst_app.conf b/modules/apache/templates/vhost_catalyst_app.conf
index bfe0ec19..a369f71f 100644
--- a/modules/apache/templates/vhost_catalyst_app.conf
+++ b/modules/apache/templates/vhost_catalyst_app.conf
@@ -1 +1,4 @@
-FastCgiServer <%= script %> -processes <%= process %> -idle-timeout 30
+SetHandler fcgid-script
+ScriptAlias / <%= script %>/
+FcgidMinProcessesPerClass <%= process %>
+FcgidIdleTimeout 30