PDA

View Full Version : mailgraph


radox
8th August 2006, 21:44
i have been trying to follow this howto:
http://www.howtoforge.com/mail_statistics_mailgraph_pflogsumm_p2

i have reached this stage
cp -p /usr/lib/cgi-bin/mailgraph.cgi /var/www/www.example.com/cgi-bin

but I put my domain name instead of example.com and because my site is not
live yet it was a thoughtless mistake.

how can I change this mistake?

radox

falko
9th August 2006, 17:47
You must use the path to your vhost's cgi-bin directory. If it's in /usr/local/apache/web37/cgi-bin, for example, you must use this path instead of /var/www/www.example.com/cgi-bin.

radox
10th August 2006, 12:38
falko wrote:

>You must use the path to your vhost's cgi-bin directory. If it's in >/usr/local/apache/web37/cgi-bin, for example, you must >use this path instead of var/www/www.example.com/cgi-bin.

no vhost that i know of!i do not have apache installed. I was going to use a ftp program to post the output of mailgraph to my web site which is hosted by my isp. isthis possible? The mailgraph deamon is running

radox

falko
11th August 2006, 17:39
i do not have apache installed.
Good that you mention this right in the beginning...

I was going to use a ftp program to post the output of mailgraph to my web site which is hosted by my isp. isthis possible? The mailgraph deamon is running

No, this doesn't work. The output is created by mailgraph.cgi, therefore you need an Apache on your server.

radox
11th August 2006, 22:30
ok I have just installed thttpd (2.23beta1-4) on dapper its a small web server. So back to the 2nd post in this thread where or which directory to look in?


I

radox

falko
12th August 2006, 19:42
I suggest that you install Apache, and then you must put mailgraph.cgi into the cgi-bin directory of your vhost, as described in the tutorial. :)