open up /var/log/bm to php so upload-bmlog.php works again
authorThierry Parmentelat <thierry.parmentelat@inria.fr>
Thu, 28 Feb 2013 10:18:19 +0000 (11:18 +0100)
committerThierry Parmentelat <thierry.parmentelat@inria.fr>
Thu, 28 Feb 2013 10:18:19 +0000 (11:18 +0100)
plc.d/httpd

index e6b409d..48d340e 100755 (executable)
@@ -57,7 +57,7 @@ case "$1" in
        sed -i -e "s@[;]*include_path = \"\.:.*\"@include_path = \"$include_path\"@" $php_ini
 
        # Set open_basedir so as to avoid leaks
-       open_basedir="$DocumentRoot:/etc/planetlab/php:/usr/share/plc_api/php:/var/log/myslice:/var/tmp/bootmedium:/tmp"
+       open_basedir="$DocumentRoot:/etc/planetlab/php:/usr/share/plc_api/php:/var/log/myslice:/var/tmp/bootmedium:/var/log/bm:/tmp"
        sed -i -e "s@[;]*open_basedir =.*@open_basedir = \"$open_basedir\"@" $php_ini
        
        # for php-5.3 under fedora12, otherwise issues tons of warning messages