Nagios page and info.php display html
Posted: Wed Feb 26, 2020 7:56 pm
I installed Nagios 4.4.5 and Apache2 on Raspberry Pi 4 with Raspbian 10. Apache seems to be working fine, and browsing to the server (http://<server ip>) results in the Apache2 Debian Default page. But browsing to nagios (http://<server ip>/nagios) results in a page of html.
<?php
// Allow specifying main window URL for permalinks, etc.
$url = 'main.php';
if ("no" == "yes" && isset($_GET['corewindow'])) {
// The default window url may have been overridden with a permalink...
// Parse the URL and remove permalink option from base.
$a = parse_url($_GET['corewindow']);
......
Browsing to the info.php page (http://<server ip>/into.php results in a page showing the following:
<?php phpinto(): ?>
I followed the installation procedure found here.
https://support.nagios.com/kb/article/n ... l#Raspbian
Any suggestions as to what I missed?
Thanks.
<?php
// Allow specifying main window URL for permalinks, etc.
$url = 'main.php';
if ("no" == "yes" && isset($_GET['corewindow'])) {
// The default window url may have been overridden with a permalink...
// Parse the URL and remove permalink option from base.
$a = parse_url($_GET['corewindow']);
......
Browsing to the info.php page (http://<server ip>/into.php results in a page showing the following:
<?php phpinto(): ?>
I followed the installation procedure found here.
https://support.nagios.com/kb/article/n ... l#Raspbian
Any suggestions as to what I missed?
Thanks.