I'm trying to call a cgi-script from a standard html file, and for some reason, nothing is displaying and nothing shows up in the logs.
The background is that I am running the Mailgraph cgi script on my server (in the cgi-bin directory), and I would like it to display (it outputs pretty graphs) when people visit rather than
I'm probably going about this completely the wrong way (I know nothing about CGI), but FWIW, here's my index.html file in the mailgraph directory:
That is the correct full location of the mailgraph.cgi file. While the index page loads (I get the correct title), I don't see the pretty graphs. Also, as I say, there are no errors in the logs.
The background is that I am running the Mailgraph cgi script on my server (in the cgi-bin directory), and I would like it to display (it outputs pretty graphs) when people visit rather than
I'm probably going about this completely the wrong way (I know nothing about CGI), but FWIW, here's my index.html file in the mailgraph directory:
Code:
<html>
<head>
<title>SMTP4 Mailgraph</title>
</head>
<body>
<!--#exec cgi="/var/[URL unfurl="true"]www/cgi-bin/mailgraph.cgi"-->[/URL]
</body>
</html>
That is the correct full location of the mailgraph.cgi file. While the index page loads (I get the correct title), I don't see the pretty graphs. Also, as I say, there are no errors in the logs.