aboutsummaryrefslogtreecommitdiffstats
path: root/modules/apache/templates/mod
diff options
context:
space:
mode:
authorMichael Scherer <misc@mageia.org>2012-04-02 11:05:35 +0000
committerMichael Scherer <misc@mageia.org>2012-04-02 11:05:35 +0000
commitf6c93e0bda5c042d0ee3d25348df04d069997fb3 (patch)
tree0a7ee7a3b46d04d6864e094a1579b2c5b383ce4e /modules/apache/templates/mod
parent2781f3c5b9174a2ff0c804a913835dde66926aac (diff)
downloadpuppet-f6c93e0bda5c042d0ee3d25348df04d069997fb3.tar
puppet-f6c93e0bda5c042d0ee3d25348df04d069997fb3.tar.gz
puppet-f6c93e0bda5c042d0ee3d25348df04d069997fb3.tar.bz2
puppet-f6c93e0bda5c042d0ee3d25348df04d069997fb3.tar.xz
puppet-f6c93e0bda5c042d0ee3d25348df04d069997fb3.zip
move the others files in subdirectory
Diffstat (limited to 'modules/apache/templates/mod')
-rw-r--r--modules/apache/templates/mod/php.conf5
-rw-r--r--modules/apache/templates/mod/wsgi.conf12
2 files changed, 17 insertions, 0 deletions
diff --git a/modules/apache/templates/mod/php.conf b/modules/apache/templates/mod/php.conf
new file mode 100644
index 00000000..6d64ffb8
--- /dev/null
+++ b/modules/apache/templates/mod/php.conf
@@ -0,0 +1,5 @@
+# as php insist to have this value set, let's
+# look on the system for him
+php_value date.timezone "<%= php_date_timezone %>"
+php_admin_value sendmail_path "/usr/sbin/sendmail -t -i -f root@<%= domain %>"
+
diff --git a/modules/apache/templates/mod/wsgi.conf b/modules/apache/templates/mod/wsgi.conf
new file mode 100644
index 00000000..0ecba31a
--- /dev/null
+++ b/modules/apache/templates/mod/wsgi.conf
@@ -0,0 +1,12 @@
+# http://code.google.com/p/modwsgi/wiki/ApplicationIssues
+# mainly for viewvc at the moment , when doing a diff
+WSGIRestrictStdout Off
+# again viewvc :
+# mod_wsgi (pid=20083): Callback registration for signal 15 ignored.
+# no bug reported upstream yet :/
+# WSGIRestrictSignal Off
+# reenabled, as this prevent apache from restarting properly
+
+# make sure transifex client work fine, as we need wsgi to pass autorisation
+# header to django ( otherwise, this just show error 401 )
+WSGIPassAuthorization On