HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Developers' Forum (http://www.howtoforge.com/forums/forumdisplay.php?f=33)
-   -   Move configuration files request (http://www.howtoforge.com/forums/showthread.php?t=53949)

nveid 29th August 2011 00:09

Move configuration files request
 
Can we move the default location for the configuration files for ispconfig to /etc/ispconfig?

This would allow non-standard location installs of ispconfig if so needed however keeping configuration, and make it so the system uses one configuration file instead of 2 with the same data located in two different locations on a system. However, this would keep configuration in a more standard place on the system and the code will reference needed information there. Also, this would be an ideal location should an actual debian package be created to support the installation of ispconfig.

till 29th August 2011 10:59

Thats a good idea. I think we should ensure that the location from where the config.inc.php file gets included into the other php scripts does not change so that no demo system or installations where the interface part is installed in a website is broken. There are a lot of custom installs out there and we should take care about that.

Also the installer should do a seamless upgrade on that change.

Either we use a symlink from /usr/local/ispconfig/interface/lib/config.inc.php to /etc/ispconfig/config.inc.php or we add some code to the /usr/local/ispconfig/interface/lib/config.inc.php file that tries to include the file from /etc/ispconfig in case that it exists and has secure permissions (user and group ispconfig and not world readable). Same for the server part config file.


All times are GMT +2. The time now is 16:43.

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