From eb5cfec6c382a50370be00df9e46a94830a0a8a1 Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Mon, 10 Apr 2017 16:55:02 +0200 Subject: viewvc: use fcgid --- modules/viewvc/manifests/init.pp | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'modules/viewvc/manifests/init.pp') diff --git a/modules/viewvc/manifests/init.pp b/modules/viewvc/manifests/init.pp index 2545a8b1..38cc4eae 100644 --- a/modules/viewvc/manifests/init.pp +++ b/modules/viewvc/manifests/init.pp @@ -1,5 +1,5 @@ class viewvc { - include apache::mod::fastcgi + include apache::mod::fcgid include viewvc::var package {['viewvc', 'python-svn', @@ -42,11 +42,17 @@ class viewvc { $vhost_aliases = { '/viewvc' => '/var/www/viewvc/', '/robots.txt' => $robotsfile, - '/' => '/usr/share/viewvc/bin/wsgi/viewvc.fcgi/' } + + $script_aliases = { + '/' => '/usr/share/viewvc/bin/wsgi/viewvc.fcgi/', + } + + $process = 4 + apache::vhost::base { $viewvc::var::hostname: aliases => $vhost_aliases, - content => template('viewvc/vhost.conf'), + content => template('apache/vhost_fcgid.conf'), } apache::vhost::base { "ssl_${viewvc::var::hostname}": vhost => $viewvc::var::hostname, -- cgit v1.2.1