From 19553371bbdc91dbeb6ec2aeb1b2b329013da245 Mon Sep 17 00:00:00 2001 From: Michael Scherer Date: Fri, 28 Jan 2011 12:26:04 +0000 Subject: enable mod_wdgi hack to let viewvc write to stdout. Viewvc should be fixed, and a bug report should be opened ( but for now, this is faster ) --- modules/apache/manifests/init.pp | 9 +++++++++ modules/apache/templates/mod_wsgi.conf | 4 ++++ 2 files changed, 13 insertions(+) create mode 100644 modules/apache/templates/mod_wsgi.conf (limited to 'modules/apache') diff --git a/modules/apache/manifests/init.pp b/modules/apache/manifests/init.pp index bcad0d24..8c6daa74 100644 --- a/modules/apache/manifests/init.pp +++ b/modules/apache/manifests/init.pp @@ -79,6 +79,15 @@ class apache { group => root, mode => 644, } + + file { "/etc/httpd/conf.d/mod_wsgi.conf": + ensure => present, + owner => root, + group => root, + mode => 644, + content => template('apache/mod_wsgi.conf') + } + } class mod_proxy inherits base { diff --git a/modules/apache/templates/mod_wsgi.conf b/modules/apache/templates/mod_wsgi.conf new file mode 100644 index 00000000..c257460a --- /dev/null +++ b/modules/apache/templates/mod_wsgi.conf @@ -0,0 +1,4 @@ +# http://code.google.com/p/modwsgi/wiki/ApplicationIssues +# mainly for viewvc at the moment , when doing a diff +WSGIRestrictStdout Off + -- cgit v1.2.1