Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Developers' Forum

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 29th August 2011, 00:09
nveid nveid is offline
Member
 
Join Date: Jan 2006
Location: Daytona Beach, FL
Posts: 87
Thanks: 7
Thanked 17 Times in 14 Posts
Send a message via Yahoo to nveid Send a message via Skype™ to nveid
Default 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.
__________________
-- RLB
Reply With Quote
Sponsored Links
  #2  
Old 29th August 2011, 10:59
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,754
Thanks: 821
Thanked 5,331 Times in 4,183 Posts
 
Default

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.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.

Last edited by till; 29th August 2011 at 11:04.
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
Can't access to my website - after install problem pallermo Installation/Configuration 18 4th June 2010 13:29
problem with upgrade to 2.2.34 brianetilley Installation/Configuration 14 11th November 2009 17:22
Apache wont serve my files anymore:( wotIsCmd Server Operation 2 17th July 2009 20:24
Exim Gateway with mailwatch (Unable to receive emails) siul0_0 HOWTO-Related Questions 10 8th May 2009 23:00
Network questions regarding Ubuntu Server lubod Installation/Configuration 7 3rd January 2007 18:53


All times are GMT +2. The time now is 18:56.


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