Xymon Mailing List Archive search

(TS) Trying to setup xymon on a VoIP asterisk server

list Jeremy Laidman
Fri, 8 May 2015 11:30:50 +1000
Message-Id: <CAAnki7ACM8zc+w_OChNGB3CBwipjFi4KFuKaj3fa1MAShMU=user-e25ec24b62e3@xymon.invalid>

And following on from this, my Apache server would give me a "not found"
page if I didn't append the trailing slash to the URL.  So I added this to
my config file:

Alias /xymon  "/var/lib/xymon/www/"

Note the lack of trailing slash on the first term.  Now I don't need the
trailing slash in my URL.  Give it a try and see if it works for you.

Another suggestion, your httpd.conf file specifies an include directory.
You might consider putting the Xymon configuration part in a separate file
in conf.d, called (for example) xymon-apache.conf.  That way, you don't
lose your config if an Apache upgrade replaces your httpd.conf file.

Cheers
Jeremy


On 8 May 2015 at 11:12, Jeremy Laidman <user-71895fb2e44c@xymon.invalid> wrote:
On 8 May 2015 at 10:02, Tom Schmitt <user-6bdb181ad4fe@xymon.invalid> wrote:
File does not exist:  /var/www/html/xymon

The web server is looking for web pages in /var/www/html/xymon/.  But the
config file shows:

<Directory "/home/xymon/server/www">
    Options Indexes FollowSymLinks Includes MultiViews
    Order allow,deny
    Allow from all
</Directory>

The log suggests that you're URL is not hitting the "Alias", which is:

Alias /xymon/  "/home/xymon/server/www/"

Hmm.  Have you tried appending a trailing slash in your browser?

Cheers
Jeremy