From e43bd4e595239ce4dd637ff9218e39c07f0d5a68 Mon Sep 17 00:00:00 2001 From: Jeroen Pinoy Date: Fri, 19 Feb 2021 23:50:12 +0100 Subject: [PATCH] chg: [faq] Add FAQ question on setting baseurl via CLI --- faq/README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/faq/README.md b/faq/README.md index 05200f4..5c4cbe3 100644 --- a/faq/README.md +++ b/faq/README.md @@ -315,7 +315,15 @@ You can reset the password via the console. See [Issue #1160](https://github.com/MISP/MISP/issues/1160) `/var/www/MISP/app/Console/cake Password [email] [password]` +### How do I set the baseurl from the command line? +You can change the baseurl via the console. + + sudo -u www-data /var/www/MISP/app/Console/cake Baseurl [baseurl] + +You can confirm the baseurl is updated correctly by checking the config.php file + + grep baseurl /var/www/MISP/app/Config/config.php *** ## Usage questions ### How can I see all the deleted events in a MISP instance?