cgi-bin URL issues in 4.3.0-beta1

Wendell Turner wendell at enflight.com
Mon Feb 16 21:46:00 CET 2009


I have two issues with the handling of cgi-bin in
4.3.0-beta1:

1)  the cgi URL is ignored.

Answering anything to this question:
  What is the URL for the Xymon CGI directory [/xymon-cgi] ?
  (Note: This is the URL - NOT the filesystem directory)

will put the result into
/home/hobbit/server/etc/hobbit-apache.conf
i.e.
  ScriptAlias /whatever/ "/var/www/cgi-bin/xymon/"

However, the actual URL used in the running system remains
  http://myhost.com/xymon/cgi-bin/bb-hostsvc.sh?...
                    ^^^^^^^^^^^^^
should have been /whatever/

Workaround: put the ScriptAlias before the Alias directives
in the hobbit-apache.conf file.

2)  the cgi URL is inconsistent.

For some of the cgi-bin scripts, 'cgi-bin' is appended to
the
URLs, yielding references to:
  /xymon/cgi-bin/cgi-bin/bb-snapshot.sh was not found on this server.

Where is the extra /cgi-bin coming from?

Thanks,

Wendell





More information about the Xymon mailing list