Don’t change base_url, this doesn’t control the port apache listens on.
The port used by apache is controlled by… apache’s config! :D
You probably want /etc/apache2/conf.d/000-default.conf
Adam.
From: Gordon Cheng (gocheng) <gocheng@cisco.com>
Sent: 24 February 2022 05:10
To: observium@observium.org
Cc: adama@observium.org; feiyang@hotmail.com
Subject: Change base_url listening port
Hi Observium team:
We are trying to follow the “Config Option” under:
https://docs.observium.org/config_options/
to change the Observium GUI port from default 80 to 8000, by updating “config.php” to:
// Change web interface port setting
$config['base_url'] = "http://".$_SERVER["observium.abc.com"].":".$_SERVER["8000"];
But it doesn’t work even after reloading apache2.
Any suggestion how to make it right?
Thanks.
- Gordon