Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 10th November 2012, 04:54
rbartz rbartz is offline
Member
 
Join Date: Apr 2006
Posts: 80
Thanks: 9
Thanked 6 Times in 5 Posts
Default 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,

Richard
Reply With Quote
Sponsored Links
  #2  
Old 10th November 2012, 12:20
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,745 Times in 2,578 Posts
Default

You can add the directory you need to open_basedir in ISPConfig.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
The Following User Says Thank You to falko For This Useful Post:
rbartz (10th November 2012)
  #3  
Old 10th November 2012, 13:37
rbartz rbartz is offline
Member
 
Join Date: Apr 2006
Posts: 80
Thanks: 9
Thanked 6 Times in 5 Posts
 
Default 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,

Richard
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
mysql and mail problem viritech General 3 16th October 2012 13:54
Storing form data in more than one db table Croydon Developers' Forum 3 19th June 2012 14:10
Mail hold in Q fisherofer Installation/Configuration 1 5th February 2012 14:29
Aliases failing after ISPConfig 3.04 update kassyo Installation/Configuration 3 13th November 2011 11:50
Help with Bluetooth PAND josto HOWTO-Related Questions 1 7th August 2007 21:53


All times are GMT +2. The time now is 17:31.


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