[rrd-users] Re: Newbie: rddcgi graph
Jan L. Peterson
jlp at softhome.net
Wed Jan 23 04:56:18 MET 2002
I suspect that what is happening is related to the directory that your
rrd.cgi file is in. It sounds from your message like you've put the
rrd.cgi file (the one containing html plus the RRD directives) in the
web server's cgi-bin directory. This is a problem.
Here's what happens... the rrd.cgi script runs and creates the graph
file(s) (also in the cgi-bin directory). Now your browser tries to
download the image, but the web server thinks that everything in the
cgi-bin directory is a cgi program (you make it worse by making the
image file executable).
The solution is to have your rrd.cgi script in some other directory in
the doc root. Add directives to your web server config file to have
any files ending in .cgi be considered as cgi scripts. The images
created will not end in .cgi, so they will be served up as normal image
files.
Good luck.
-jan-
--
Jan L. Peterson
<jlp at softhome.net>
--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
More information about the rrd-users
mailing list