[icinga-users] http://my.ser.ver/icingaweb2 change?
Antony.Stone at icinga.open.source.it
Mon Oct 22 13:19:37 CEST 2018
On Monday 22 October 2018 at 13:15:33, Thomas Gelf wrote:
> TL;DR: What Michael said.
I'll answer his request for some examples shortly.
> Clone the shipped apache config file to a custom file, adjust the URLs,
> disable the default one, enable your one. Icinga Web 2 will detect the
> used URL and is fine with this.
Okay, that's good to know and sounds nice and simple.
> Am 22.10.2018 um 13:14 schrieb Michael Friedrich:
> >> On 22. Oct 2018, at 12:09, Antony Stone wrote:
> >> Hi.
> >> I'm wondering what is the best / recommended way to change "icingaweb2"
> >> in the standard URL for accessing the Icinga web portal from a browser.
> >> So, instead of http://my.ser.ver/icingaweb2/ I'd like to have something
> >> like http://my.ser.ver/status/
> >> I can see where to change this in the Apache config file, but there are
> >> clearly some "/icingaweb2/" paths embedded into the PHP code under
> >> /usr/share/icingaweb2, so I'm wondering:
> > Where exactly?
> > I’ve seen many installations of Icinga Web 2 just with ‘/‘ instead of
> > ‘/icingaweb2’. The main configuration works with a VHost too, you’d only
> > need to ensure that the RewriteBase is set to ‘/‘ and not ‘/icingaweb2’.
> > Check here for an example:
> > https://icinga.com/docs/icingaweb2/latest/doc/20-Advanced-Topics/#virtua
> > lhost-configuration
> > Cheers,
> > Michael
This sentence contains exacly three erors.
Please reply to the list;
please *don't* CC me.
More information about the icinga-users