# PHYSICAL HTML PATH # This is the path where the HTML files for Nagios reside. This # value is used to locate the logo images needed by the statusmap # and statuswrl CGIs. physical_html_path=/usr/share I'm not sure this is right, I think it was /usr/share/nagios/htdocs before. However, it seems to work, confused...
net-analyzer/nagios-core-4.4.3-r1::gentoo was built with the following: USE="apache2 web -classicui -lighttpd -perl -vim-syntax" ABI_X86="(64)"
There is a lot of confusion about this stuff in the build system. You're right that physical_html_path used to be set to "/usr/share/nagios/htdocs", because it gets set to @datadir by default and we used to pass "--datadir=/usr/share/nagios/htdocs" to the configure script. But, note that with version 4.4.3, the Makefile sets HTMLDIR=@webdir@ instead of HTMLDIR=@datadir@ which was the value in version 4.4.2. I'm almost certain that the previous value of "--with-datadir" was to fix that path, and not physical_html_path. In any case, HTMLDIR is where the stuff is actually installed. If anything, I would think that physical_html_path and HTMLDIR should agree -- which means that both should be @webdir from now on. But yeah, I tested after changing that path and saw that the web interface worked. I'm not sure when/how the physical_html_path comes into play.
Is there anything else you want me to do here? Until upstream reorganizes this stuff again, I'm inclined to leave it the way it is (confusing, but working).
Seems like it doesn't cause any trouble, it's just surprising. Closing for now.