mailgraph

Discussion in 'HOWTO-Related Questions' started by radox, Aug 8, 2006.

  1. radox

    radox New Member

    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
     
  2. falko

    falko Super Moderator ISPConfig Developer

    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.
     
  3. radox

    radox New Member

    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
     
    Last edited: Aug 11, 2006
  4. falko

    falko Super Moderator ISPConfig Developer

    Good that you mention this right in the beginning...

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

    radox New Member

    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
     
    Last edited: Aug 12, 2006
  6. falko

    falko Super Moderator ISPConfig Developer

    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. :)
     

Share This Page