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://%22.$_SERVER%5B%22observium.abc.com%22%5D.%22:%22.$_SERVER%5B%228000"];
But it doesn’t work even after reloading apache2.
Any suggestion how to make it right?
Thanks. - Gordon
Hi Gordon,
Changing the http port is to be done at the apache2 level. You need to look at it's configuration for listening ports.
Ahmed.
Le jeu. 24 févr. 2022, à 00 h 17, Gordon Cheng (gocheng) via observium < observium@observium.org> a écrit :
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://%22.$_SERVER%5B%22observium.abc.com "].":".$_SERVER["8000"];
But it doesn’t work even after reloading apache2.
Any suggestion how to make it right?
Thanks.
- Gordon
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
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://%22.$_SERVER%5B%22observium.abc.com%22%5D.%22:%22.$_SERVER%5B%228000"];
But it doesn’t work even after reloading apache2.
Any suggestion how to make it right?
Thanks.
- Gordon
participants (3)
-
Adam Armstrong
-
Ahmed Rahal
-
Gordon Cheng (gocheng)