[rrd-users] Newbie Help - CGI

Markus.Forrer at coop.ch Markus.Forrer at coop.ch
Fri Nov 23 14:11:21 MET 2001


I set up the following cgi Script. (it's my first... )

<H1>BDFALK-A Example Page</H1>
bd_falk-day.gif --lazy --start -86400
AREA:bitsin#00FF00:"In traffic"
LINE1:bitsout#0000EE:"Out traffic"
-t "tempo forrer"

I see the layout of the Page und the placeholder for the picture, but no

When I want to view the picture, I get the following

Internal Server Error
The server encountered an internal error or misconfiguration and was unable
to complete your request. 
Please contact the server administrator, [no address given] and inform them
of the time the error occurred, and anything you might have done that may
have caused the error. 
More information about this error may be available in the server error log.

When I copy the picture to another place I can watch it.

For the cgi I setup the following in the apache.conf.

<Location /rrd>
AllowOverride None
Options +ExecCGI
SetHandler cgi-script

And this is the error I got

[Fri Nov 23 14:05:34 2001] [error] (8)Fehler im Format der Programmdatei:
exec of /usr/local/httpd/htdocs/rrd/bd_falk-day.gif failed
[Fri Nov 23 14:05:34 2001] [error] [client] Premature end of
script headers: /usr/local/httpd/htdocs/rrd/bd_falk-day.gif

What I'm doing wrong??

Markus Forrer
Betrieb Netzwerk
Tel. +41 61 336 75 37
Fax +41 61 319 17 67
mailto:markus.forrer at coop.ch

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