From 15e4a171cfe131de729c2e936f59b702a72d8958 Mon Sep 17 00:00:00 2001 From: Benjamin Sonntag Date: Sun, 27 Mar 2011 15:54:34 +0000 Subject: [PATCH] removing openbasedir restriction for the control panel : awstats & mailman requires it --- etc/alternc/apache2.conf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/etc/alternc/apache2.conf b/etc/alternc/apache2.conf index 5e12786e..1a5ed20c 100644 --- a/etc/alternc/apache2.conf +++ b/etc/alternc/apache2.conf @@ -28,7 +28,8 @@ ScriptAlias /cgi-bin/ /var/alternc/cgi-bin/ php_admin_flag safe_mode off php_admin_flag register_globals on AddDefaultCharset ISO-8859-1 - php_admin_value open_basedir /etc/alternc/:/var/run/alternc/:/var/alternc/bureau/:/var/alternc/html/:/var/alternc/tmp:/tmp:/usr/share/php/:/var/cache/alternc-webalizer/:/etc/locale.gen +# modules such as mailman or awstats needs to write into other folders, we have to remove this : +# php_admin_value open_basedir /etc/alternc/:/var/run/alternc/:/var/alternc/bureau/:/var/alternc/html/:/var/alternc/tmp:/tmp:/usr/share/php/:/var/cache/alternc-webalizer/:/etc/locale.gen