From b89988cf4746a3f03e679a3ff2a0f479bae6f62f Mon Sep 17 00:00:00 2001 From: Axel ROGER Date: Thu, 4 Oct 2012 13:56:51 +0000 Subject: [PATCH] Added some directories to open_basedir (for awstats) --- etc/alternc/apache2.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/etc/alternc/apache2.conf b/etc/alternc/apache2.conf index 4fa0caad..b2c80d18 100644 --- a/etc/alternc/apache2.conf +++ b/etc/alternc/apache2.conf @@ -30,8 +30,8 @@ ScriptAlias /cgi-bin/ /var/alternc/cgi-bin/ php_admin_flag safe_mode_gid off php_admin_flag safe_mode off AddDefaultCharset UTF-8 -# modules such as mailman or awstats needs to write into other folders, we have to remove this : - php_admin_value open_basedir /usr/share/alternc-mailman/patches/:/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 +# open_basedir allows access to specifics directories. We need to grant access to these directories for alternc, awstats, mailman... + php_admin_value open_basedir /usr/share/alternc-mailman/patches/:/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: