Storing Data Outside client#/web#/web

Discussion in 'Installation/Configuration' started by rbartz, Nov 10, 2012.

  1. rbartz

    rbartz Member HowtoForge Supporter

    A number of programs such as moodle and gallery2 want data directory storage outside of the web/ directory for various reasons, but the open_basedir does not allow for that except in tmp/.

    Is it safe to add the /var/www/clients/client*/web* directory to the open_basedir paths that are allowed? Perhaps we could add a /var/www/clients/client*/web*/data/ directory to templates and make it allowed just for this purpose?

    I suppose that we could put these in the /var/www/clients/client*/web*/tmp directory but I am thinking some user might just think is is ok to clean that out once in a while...

    Centos 6.3 OS and latest Apache, PHP, MYSQL using suEXEC and suPHP.

    Thanks for all your help,

  2. falko

    falko Super Moderator ISPConfig Developer

    You can add the directory you need to open_basedir in ISPConfig.
  3. rbartz

    rbartz Member HowtoForge Supporter

    Read The Manual!

    Ok.... READ the manual, right? I subscribed and downloaded the manual but like an idiot, did not bother to read it or refer to it.

    So I find it right there on page 99. Open the site in Sites and edit the open_basedir setting in that field in Options Tab. (For others who want a short cut. :)

    Thanks Falko,


Share This Page