X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/765f0142ffd067ce10c764fbaa09b27b4be70b2e..9da2371f202d49b61dc48c36c9fc4aa5c87d25fe:/cookbooks/forum/templates/default/apache.erb?ds=sidebyside
diff --git a/cookbooks/forum/templates/default/apache.erb b/cookbooks/forum/templates/default/apache.erb
index 915035659..82942001b 100644
--- a/cookbooks/forum/templates/default/apache.erb
+++ b/cookbooks/forum/templates/default/apache.erb
@@ -38,6 +38,9 @@
ErrorLog /var/log/apache2/forum.openstreetmap.org-error.log
DocumentRoot /srv/forum.openstreetmap.org/html
+
+ ProxyFCGISetEnvIf "true" PHP_ADMIN_VALUE "open_basedir=/srv/forum.openstreetmap.org/html/:/usr/share/php/:/tmp/\ndisable_functions=exec,shell_exec,system,passthru,popen,proc_open"
+ ProxyFCGISetEnvIf "true" PHP_VALUE "upload_max_filesize=70M\npost_max_size=100M"
@@ -48,3 +51,9 @@
Require all granted
+
+
+
+ SetHandler None
+
+