<div dir="ltr">OK, so you correctly noticed from the log that /usr/lib/xymon/server/www/ was not the right place for the /xymon/ alias, and have adjusted accordingly.<div><br></div><div>The config has a DocumentRoot and also the /xymon alias pointing at /var/lib/xymon/www/. So <a href="http://yourserver/index.html">http://yourserver/index.html</a> and <a href="http://yourserver/xymon/index.html">http://yourserver/xymon/index.html</a> will both serve your index.html file. You should try both.</div><div><br></div><div>After reconfiguring Apache, did you restart Apache?</div><div><br></div><div>After the reconfiguration, re-check the Apache logs to see if it continues to reference the old directory or now references the new one.</div><div><br></div><div>J</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, 11 Jun 2019 at 20:16, Leon Swanepoel <<a href="mailto:ljswan@mweb.co.za">ljswan@mweb.co.za</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi Jeremy,<br>
<br>
Nothing of use in the error logs.<br>
<br>
[Mon Jun 10 15:34:01.455434 2019] [authz_core:error] [pid 14725:tid<br>
140279814227712] [client <a href="http://172.29.89.26:52051" rel="noreferrer" target="_blank">172.29.89.26:52051</a>] AH01630: client denied by<br>
server configuration: /usr/lib/xymon/server/www/favicon.ico<br>
[Mon Jun 10 15:34:07.454007 2019] [authz_core:error] [pid 14725:tid<br>
140279805835008] [client <a href="http://172.29.89.26:52052" rel="noreferrer" target="_blank">172.29.89.26:52052</a>] AH01630: client denied by<br>
server configuration: /usr/lib/xymon/server/www/<br>
[Mon Jun 10 15:34:07.489009 2019] [authz_core:error] [pid 14725:tid<br>
140279797442304] [client <a href="http://172.29.89.26:52052" rel="noreferrer" target="_blank">172.29.89.26:52052</a>] AH01630: client denied by<br>
server configuration: /usr/lib/xymon/server/www/favicon.ico<br>
[Mon Jun 10 15:35:08.804579 2019] [mpm_event:notice] [pid 14722:tid<br>
140280120686464] AH00491: caught SIGTERM, shutting down<br>
[Mon Jun 10 18:13:55.352339 2019] [mpm_event:notice] [pid 23296:tid<br>
140302930818944] AH00489: Apache/2.4.7 (Ubuntu) configured -- resuming<br>
normal operations<br>
[Mon Jun 10 18:13:55.352428 2019] [core:notice] [pid 23296:tid<br>
140302930818944] AH00094: Command line: '/usr/sbin/apache2'<br>
[Mon Jun 10 19:01:05.911226 2019] [mpm_event:notice] [pid 23296:tid<br>
140302930818944] AH00493: SIGUSR1 received.  Doing graceful restart<br>
AH00558: apache2: Could not reliably determine the server's fully<br>
qualified domain name, using 127.0.1.1. Set the 'ServerName' directive<br>
globally to suppress this message<br>
[Mon Jun 10 19:01:05.914515 2019] [mpm_event:notice] [pid 23296:tid<br>
140302930818944] AH00489: Apache/2.4.7 (Ubuntu) configured -- resuming<br>
normal operations<br>
[Mon Jun 10 19:01:05.914523 2019] [core:notice] [pid 23296:tid<br>
140302930818944] AH00094: Command line: '/usr/sbin/apache2'<br>
<br>
I have also corrected the file patch as to where to find the index.html<br>
<br>
leon@cpt-00812:/var/lib/xymon/www$ ls -la<br>
total 76<br>
drwxr-xr-x  8 root  www-data  4096 Jun 11 11:03 .<br>
drwxr-xr-x 12 xymon xymon     4096 Jun 10 19:01 ..<br>
-rw-r--r--  1 root  www-data  8531 Jun 11 11:03 critical.html<br>
lrwxrwxrwx  1 root  www-data    21 Jan 12  2014 gifs<br>
-> /usr/share/xymon/gifs<br>
lrwxrwxrwx  1 root  www-data    21 Jan 12  2014 help<br>
-> /usr/share/xymon/help<br>
drwxr-xr-x  2 root  www-data  4096 Jan 12  2014 html<br>
lrwxrwxrwx  1 root  www-data    10 Jun 11 11:03 index.html -> xymon.html<br>
drwxr-xr-x  2 root  www-data  4096 Jun 10 19:01 menu<br>
-rw-r--r--  1 root  www-data 14347 Jun 11 11:03 nongreen.html<br>
drwxr-xr-x  2 root  www-data  4096 Jan 12  2014 notes<br>
drwxrwxr-x  2 root  www-data  4096 Jan 12  2014 rep<br>
drwxrwxr-x  2 root  www-data  4096 Jan 12  2014 snap<br>
drwxr-xr-x  2 root  www-data  4096 Jan 12  2014 wml<br>
-rw-r--r--  1 root  www-data 14289 Jun 11 11:03 xymon.html<br>
<br>
<br>
<VirtualHost *:80><br>
    ServerAdmin webmaster@localhost<br>
    DocumentRoot /var/lib/xymon/www/ <br>
    ErrorLog ${APACHE_LOG_DIR}/error.log<br>
    CustomLog ${APACHE_LOG_DIR}/access.log combined<br>
<br>
Alias /xymon/  "/var/lib/xymon/www/"<br>
<Directory "/var/lib/xymon/www/"><br>
    AllowOverride all<br>
    Options Indexes FollowSymLinks Includes MultiViews<br>
    Order allow,deny<br>
    Allow from all<br>
</Directory><br>
<br>
ScriptAlias /xymon-cgi/ "/usr/lib/xymon/cgi-bin/"<br>
<Directory "/usr/lib/xymon/cgi-bin"><br>
    AllowOverride None<br>
    Options ExecCGI Includes<br>
    Order allow,deny<br>
    Allow from all<br>
</Directory><br>
<br>
ScriptAlias /xymon-seccgi/ "/usr/lib/xymon/cgi-secure/"<br>
<Directory "/usr/lib/xymon/cgi-secure"><br>
    AllowOverride None<br>
    Options ExecCGI Includes<br>
    Order allow,deny<br>
    Allow from all<br>
<br>
    # Password file where users with access to these scripts are kept.<br>
    # Create it with "htpasswd -c /usr/lib/xymon/server/etc/xymonpasswd<br>
USERNAME"<br>
    # Add more users / change passwords with<br>
"htpasswd /usr/lib/xymon/server/etc/xymonpasswd USERNAME"<br>
<br>
    AuthUserFile /usr/lib/xymon/server/etc/xymonpasswd<br>
    AuthType Basic<br>
    AuthName "Xymon Administration"<br>
    Require valid-user<br>
</Directory><br>
<br>
</VirtualHost><br>
<br>
I have also set the log level to debug but no luck.<br>
<br>
Thank You,<br>
Leon<br>
<br>
On Tue, 2019-06-11 at 19:38 +1000, Jeremy Laidman wrote:<br>
> Leon<br>
> <br>
> <br>
> Check your Apache error log for clues.<br>
> <br>
> <br>
> Chances are, your Xymon installation is putting the index.html file in<br>
> a different place to where Apache is looking for it. Your config<br>
> suggests you should find index.html in /usr/lib/xymon/server/www/.<br>
> <br>
> <br>
> Cheers<br>
> Jeremy<br>
> <br>
> On Tue, 11 Jun 2019 at 19:32, Leon Swanepoel <<a href="mailto:ljswan@mweb.co.za" target="_blank">ljswan@mweb.co.za</a>><br>
> wrote:<br>
> <br>
>         Good day,<br>
>         <br>
>         When I go to the URL <ip address>/xymon/xymon.html, I get the<br>
>         error<br>
>         below.<br>
>         <br>
>         The requested URL /xymon/xymon.html was not found on this<br>
>         server.<br>
>         <br>
>         Here is my config file.<br>
>         <br>
>         /etc/apache2/sites-available/xymon.conf<br>
>         <br>
>         <VirtualHost *:80><br>
>             ServerAdmin webmaster@localhost<br>
>             DocumentRoot /usr/lib/xymon/server/www/ <br>
>             ErrorLog ${APACHE_LOG_DIR}/error.log<br>
>             CustomLog ${APACHE_LOG_DIR}/access.log combined<br>
>         <br>
>         Alias /xymon/  "/usr/lib/xymon/server/www/"<br>
>         <Directory "/usr/lib/xymon/server/www/"><br>
>             AllowOverride all<br>
>             Options Indexes FollowSymLinks Includes MultiViews<br>
>             Order allow,deny<br>
>             Allow from all<br>
>         </Directory><br>
>         <br>
>         ScriptAlias /xymon-cgi/ "/usr/lib/xymon/cgi-bin/"<br>
>         <Directory "/usr/lib/xymon/cgi-bin"><br>
>             AllowOverride None<br>
>             Options ExecCGI Includes<br>
>             Order allow,deny<br>
>             Allow from all<br>
>         </Directory><br>
>         <br>
>         ScriptAlias /xymon-seccgi/ "/usr/lib/xymon/cgi-secure/"<br>
>         <Directory "/usr/lib/xymon/cgi-secure"><br>
>             AllowOverride None<br>
>             Options ExecCGI Includes<br>
>             Order allow,deny<br>
>             Allow from all<br>
>         <br>
>             # Password file where users with access to these scripts<br>
>         are kept.<br>
>             # Create it with "htpasswd<br>
>         -c /usr/lib/xymon/server/etc/xymonpasswd<br>
>         USERNAME"<br>
>             # Add more users / change passwords with<br>
>         "htpasswd /usr/lib/xymon/server/etc/xymonpasswd USERNAME"<br>
>         <br>
>             AuthUserFile /usr/lib/xymon/server/etc/xymonpasswd<br>
>             AuthType Basic<br>
>             AuthName "Xymon Administration"<br>
>             Require valid-user<br>
>         </Directory><br>
>         <br>
>         Any ideas?<br>
>         <br>
>         Thank You,<br>
>         Leon<br>
>         <br>
>         _______________________________________________<br>
>         Xymon mailing list<br>
>         <a href="mailto:Xymon@xymon.com" target="_blank">Xymon@xymon.com</a><br>
>         <a href="http://lists.xymon.com/mailman/listinfo/xymon" rel="noreferrer" target="_blank">http://lists.xymon.com/mailman/listinfo/xymon</a><br>
<br>
<br>
</blockquote></div>