[axxs-sysadmin] openbase_dir php error and cities list

Cameron Gregg cam at earthanarchy.org
Sun May 7 04:52:28 PDT 2006


Dave Fregon wrote:
> You need to be explicit about the container Directory, see if that
> helps, something like this ? :
> 
> <Directory /home/httpd/vhosts/axxs.org/subdomains/arafura/uploads>
> 
>   php_admin_value open_basedir
> /home/httpd/vhosts/axxs.org/subdomains/arafura/httpdocs:/tmp:/home/httpd/vhosts/axxs.org/subdomains/arafura/uploads
> 
> </Directory>
> 

Thankyou, that works nice.
Though I will leave drupal where it is for now.
I did use the above in another way:

I've setup a cron job to get the indymedia cities list once per week and 
save it in /var/indymedia/cities.list

the script is /etc/cron.weekly/getCitiesList

it simply calls
wget -q -O /var/indymedia/cities.list http://www.indymedia.org/cities.inc

and I have this in vhost.conf for arafura

<Directory  /home/httpd/vhosts/axxs.org/subdomains/arafura/httpdocs>
php_admin_value open_basedir 
"/home/httpd/vhosts/axxs.org/subdomains/arafura/httpdocs:/tmp:/var/indymedia"
</Directory>

Cam


More information about the axxs-sysadmin mailing list