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

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 17th September 2007, 07:57
ehsan ehsan is offline
Junior Member
 
Join Date: Sep 2007
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default Prevent Apache config files from being overwritten

Hi all,

I have successfully deployed an ISPConfig installation on Ubuntu Server 7.04 with one site configured. My problem is that I have made manual customizations to the apache config files generated by ispconfig (both in /etc/apache2/apache2.conf and /etc/apache2/vhosts/Vhosts_ispconfig.conf), and I need to preserve these changes in the updates ispconfig makes to those config files.

My question is twofold:

1) It seems that ispconfig rewrites the apache config files on a regular basis. I have witnessed this twice so far, where I see the website does not work, and I track it to ispconfig's apache configs being overwritten (and effectively voiding my custom configs). I need to find a way to either disable ispconfig rewrites or make it respect my customizations. Can anyone help me?

2) When I make changes to the config through the web based interfaceof ispconfig, again my customizations are overwritten. This is of less priority of course (I can edit the config files through the command line manually) but I prefer ispconfig's apache config writer to respect my customizations, if possible.

I appreciate any help.

Thanks!
Ehsan
Reply With Quote
Sponsored Links
  #2  
Old 17th September 2007, 10:00
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,488
Thanks: 813
Thanked 5,259 Times in 4,123 Posts
Default

Never edit the file Vhost_ispconfig.conf file manually, add your customizations in the apache directives field of the website instead of the file.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 17th September 2007, 10:36
ehsan ehsan is offline
Junior Member
 
Join Date: Sep 2007
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks for your reply.

The problem is part of the customizations goes into apache2.conf which I don't think is affected by the Apache Directives field.

Also, is there a way to prevent ispconfig from rewriting the config files, at least as long as no change is made through the web interface?

Thanks!
Ehsan
Reply With Quote
  #4  
Old 17th September 2007, 10:52
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,488
Thanks: 813
Thanked 5,259 Times in 4,123 Posts
 
Default

ISPConfig never changes the apache.conf or apache2.conf file after the initial installation. If the file is changed on your system, it is not changed by ISPConfig.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
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
Requesting explanation of config files in /etc/apache2 (Debian Etch, Apache 2.2.3) rjamesd Server Operation 2 24th August 2007 13:16
Apache won't start: "Too many files error"? bpmee Server Operation 4 31st July 2007 13:37
ISPConfig 2.2.14 released till General 48 19th July 2007 23:46
spamassasin/clamAV not working Daisy Installation/Configuration 32 15th February 2007 00:09
Problem with the installation of Dokeos (LMS) in ISPConfig jofranco General 4 28th April 2006 00:45


All times are GMT +2. The time now is 03:28.


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