Closed (works as designed)
Project:
Provision
Version:
6.x-0.3-rc2
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
17 Aug 2009 at 15:02 UTC
Updated:
17 Aug 2009 at 21:20 UTC
Is there a way to disable generation of apache host configuration file on each Verify task?
In my case, I am adding some settings host conf file for managing logs (to be parsed by awstats), but my customized conf file is being deleted and replaced with default host conf file.
Is there some configuration for this, or this should be marked as feature request? :)
Comments
Comment #1
adrian commentedThis is by design. it needs to generate the config files depending on the settings from the front end.
you can modify the template file if you need to add things, or you can add a small .drush.inc file which implements hook_provision_apache_vhost_config($url, $options)
Comment #2
steveparks commentedMihha,
You can also create a separate apache config file - say 'example.com-awstats' in the /var/aegir/config/vhosts.d directory - because the include with apache is set to include everything in this directory
So as long as you don't simply call it 'example.com' it won't be overwritten.
cheers
Steve