aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--modules/apache/manifests/init.pp9
-rw-r--r--modules/apache/templates/mod_wsgi.conf4
2 files changed, 13 insertions, 0 deletions
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
+