HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (
-   Installation/Configuration (
-   -   Storing Data Outside client#/web#/web (

rbartz 10th November 2012 04:54

Storing Data Outside client#/web#/web
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,


falko 10th November 2012 12:20

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

rbartz 10th November 2012 13:37

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,


All times are GMT +2. The time now is 19:47.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.