New Installation, Incorrect URL for graphs
I just did a new installation and everything is working, except for the graph location URL at the bottom of the page. Is the URL compiled within the code?
Here's what I get:
http://myhost/xymon/cgi-bin/cgi-bin/showgraph.sh?host=........
I didn't put the rest of the URL. If I cut and paste the URL, and remove the second cgi-bin, I see the graphs.
I need to get rid of the second cgi-bin. Where is it getting it from.
Here's what I have in the xymonserver.cfg
XYMONSERVERCGIURL="cgi-bin" XYMONSERVERSECURECGIURL="cgi-bin"
What I did do, was create a cgi-bin directory under xymon/server/www directory, so I could put all the xymon software under a single directory. I modified the httpd.conf file to reflect this. So, everything works, except the graph at the bottom of each page is not there, and it's trying to add the second cgi-bin directory structure in the path.
Thanks, JW
On Wed, Dec 21, 2011 at 5:46 AM, James Wade <jkwade at futurefrontiers.com> wrote:> I just did a new installation and everything is working, except for the> graph location URL at the bottom of the page. Is the URL compiled within the> code? No, the status webpage is generated by code within xymonrrd.c which builds the URL from the environment variable $CGIBINURL. This is defined in xymonserver.cfg, and normally assigned with the value of $XYMONSERVERCGIURL. Here are the lines from my xymonserver.cfg file:
XYMONSERVERCGIURL="/xymon-cgi" # The URL for the Xymon CGI scripts. CGIBINURL="$XYMONSERVERCGIURL" # URL prefix for the Xymon CGI-scripts - /cgi-bin
Cheers Jeremy
participants (2)
-
jkwade@futurefrontiers.com
-
jlaidman@rebel-it.com.au