From 285e5b08c045fc92fb7881fcd4b2366f2f4a81c0 Mon Sep 17 00:00:00 2001 From: Marius Lindvall Date: Mon, 14 Dec 2020 00:02:47 +0100 Subject: [PATCH] Add note on multiple config files --- FAQ.md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/FAQ.md b/FAQ.md index fdc43be..abf019f 100644 --- a/FAQ.md +++ b/FAQ.md @@ -20,7 +20,17 @@ Yes. You should ideally only allow traffic to port 443 with HTTPS. If clients co ### Why does my shared location link point to "example.com"? -You forgot to set the `public_url` setting in the config file. +You probably forgot to set the `public_url` setting in the config file. + +### I'm changing the config file, but none of my changes seem to apply - why? + +Most likely, you're trying to edit a config file that is not being read by Hauk, because another copy of the config file elsewhere on your system is taking precedence. Hauk will look for the config file in these locations, read the first one it can find, and ignore everything else: + +1. /etc/hauk/config.php +2. /usr/local/etc/hauk/config.php +3. **hauk_install_path**/include/config.php + +If you're e.g. editing the config file in include/config.php, but another copy already exists in /etc/hauk/config.php, then *that* copy will be read because it's higher on the precedence list above, and your changes will thus not apply. Make sure that the config file only exists in one of the locations listed above. ### How can I check which version of Hauk I am running?