Hullo Stefano,
I am using Server version: Apache/2.2.17 (Unix) on slackware linux 13.1.
http.conf
ScriptAlias /cgi-bin/ "/srv/httpd/cgi-bin/"
Below is my virtual host
<VirtualHost xxx.xx.xxx.x:80>
ServerAdmin webmaster{at}xxx{dot}xx{dot}xx{dot}xx
DocumentRoot "/srv/httpd/cgi-bin/"
ServerName mail-gw3.mak.ac.ug
ErrorLog "/var/log/httpd/mailgraph/error.log"
CustomLog "/var/log/httpd/mailgraph/access.log" common
<Directory "/srv/httpd/cgi-bin/" >
DirectoryIndex mailgraph.cgi index.html index.htm
index.php index.php5 index.php4 index.php3
Options FollowSymLinks Indexes +ExecCGI
AddHandler cgi-script .cgi .pl
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
Output results using http://localhost/cgi-bin/mailgraph.cgi#G1
Mail statistics for mail-gw3
* Last Day
* Last Week
* Last Month
* Last Year
Last Day
mailgraph
mailgraph
Last Week
mailgraph
mailgraph
Last Month
mailgraph
mailgraph
Last Year
mailgraph
mailgraph
On 7/17/11, Stefano Giraldo <stefano{at}nerv{dot}it> wrote:
> Hi,
> your path seems cgi-bin/mailgraph/mailgraph.cgi, but you are going just
> to mailgraph.cgi with your browser.
>
> I suggest you to move the mailgraph.cgi to /srv/httpd/cgi-bin and use
> this URL in your browser http://localhost/cgi-bin/mailgraph.cgi, this is
> the common way to execute .cgi files. Moreover, I don't know which
> distro are you using, but check in your http server config where the
> executing path for .cgi files goes.
>
> C Ya, Stefano.
>
> Il 17/07/2011 10:02, kibirango moses ha scritto:
>> Hullo users,
>> I have made a fresh installation of mailgraph but on testing the
>> graphs are not displayed:
>> Mail statistics for mail-gw3
>>
>> * Last Day
>> * Last Week
>> * Last Month
>> * Last Year
>>
>> Last Day
>>
>> mailgraph
>> mailgraph
>> Last Week
>>
>> mailgraph
>> mailgraph
>> Last Month
>>
>> mailgraph
>> mailgraph
>> Last Year
>>
>> mailgraph
>> mailgraph
>> i have the following errors
>>
>> Use of uninitialized value $RRDs::VERSION in numeric lt (<) at
>> /srv/httpd/cgi-bin/mailgraph/mailgraph.cgi line 52., referer:
>> http://localhost/mailgraph.cgi
>> Undefined subroutine&RRDs::graph called at
>> /srv/httpd/cgi-bin/mailgraph/mailgraph.cgi line 52., referer:
>> http://localhost/mailgraph.cgi
>> Premature end of script headers: mailgraph.cgi, referer:
>> http://localhost/mailgraph.cgi
>>
>> Could any one outthere help me to solve the above
>>
>> Thanx in advance
>>
>> --
>> Unsubscribe mailto:mailgraph-request@list.ee.ethz.ch?subject=unsubscribe
>> Help mailto:mailgraph-request@list.ee.ethz.ch?subject=help
>> Archive http://lists.ee.ethz.ch/mailgraph
>> WebAdmin http://lists.ee.ethz.ch/lsg2.cgi
>>
>
--
Unsubscribe mailto:mailgraph-request@list.ee.ethz.ch?subject=unsubscribe
Help mailto:mailgraph-request@list.ee.ethz.ch?subject=help
Archive http://lists.ee.ethz.ch/mailgraph
WebAdmin http://lists.ee.ethz.ch/lsg2.cgi
|