]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/mediawiki/templates/default/apache.erb
Allow mediawiki instances to access /dev/null
[chef.git] / cookbooks / mediawiki / templates / default / apache.erb
index 913fc9acc52b8da27bcc28cfb2dabfbe892016be..3c8b4d7ac9ecc3a6ad8a86ab8ef6e444675df1b1 100644 (file)
@@ -32,7 +32,7 @@
 
   DocumentRoot <%= @directory %>
 
-  php_admin_value open_basedir <%= @directory %>/:/usr/share/php/:/tmp/
+  php_admin_value open_basedir <%= @directory %>/:/usr/share/php/:/dev/null:/tmp/
   #php_admin_value disable_functions "exec,shell_exec,system,passthru,popen,proc_open"
   php_value memory_limit 128M
   php_value max_execution_time 240