Forum

Change default settings for all virtual hosts

Morgan
8 December 2015, 09:43
Hi, I was wondering if it is possible to change the default value of a setting for all virtual hosts. For example, I want UseLocalConfig to default to yes, rather than no. Is there any way to do this, or do I have to actually specify "UseLocalConfig = yes" for every one of my virtual hosts?

Its not really that big of an issue if I can't, more of an annoyance than anything, but it would be nice if there was a way to do it.

Thanks in advance!
Hugo Leisink
9 December 2015, 01:20
That's not possible via a configuration setting. You can change it in the source. Change line 157 of src/serverconfig.c to
host->use_local_config    = true;
This topic has been closed.