aboutsummaryrefslogtreecommitdiffstats
path: root/modules/apache/templates/mod
diff options
context:
space:
mode:
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