[smokeping-users] Re: Understanding SmokePing Graphs.

Dayo Adeyeye dayo at ipnxnigeria.net
Wed Aug 20 05:08:43 MEST 2003


Thanks Leigh.

I changed my directory index to /cgi-bin/ so that my config looks like this:

<VirtualHost 10.50.3.207>
    ServerAdmin Dayo at mycompany.com
    DocumentRoot /var/www/html/smokeping/img
    ServerName smokeping.mydomain.com
    ErrorLog logs/smokeping.mydomain.com-error_log
    CustomLog logs/smokeping.mydomain.com-access_log common
    DirectoryIndex /cgi-bin/
</VirtualHost>

But now when I request http://smokeping.mydomain.com , it returns my Apache
default page. What should be contained in my DocumentRoot directory ? I
mean, what should be the content of this directory ?

Dayo


----- Original Message -----
From: "Leigh Sharpe" <lsharpe at pacificwireless.com.au>
To: "Dayo Adeyeye" <dayo at ipnxnigeria.net>; "Roberts, Larry"
<Larry.Roberts at expanets.com>
Cc: "Smokeping Users" <smokeping-users at list.ee.ethz.ch>
Sent: Wednesday, August 20, 2003 3:53 AM
Subject: Re: [smokeping-users] Re: Understanding SmokePing Graphs.


> OK,
>    Looking at your problem:
>
> > When I do a ps -ax | grep smokeping, i get :
> >
> > 1241 ? S 0:00 /usr/bin/perl -w ./bin/smokeping
> >
>
> Indicates that smokeping is running.
>
> >     DirectoryIndex /cgi-bin/smokeping.cgi
>
> looks wrong. It should be /cgi-bin/
> Leave out the "smokeping.cgi".
>
>
> > Server error!
> >   The server encountered an internal error and was unable to complete
your
> > request.
> >   Error message:
> >   Premature end of script headers: smokeping.cgi
> >   If you think this is a server error, please contact the webmaster
> > Error 500
> This indicates that your cgi is running, but it has an error. The
particular
> error is "Premature end of script headers" from smokeping.cgi. Your server
> log will give you more details about the error. More than likely, the cgi
is
> printing something other than the "content-type" line that your web server
> is expecting. The first line of the output will be in your server's error
> log. This sort of thing often happens when there is a config error.
>  Look at your server log to determine where the script is causing
problems.
>
>
>
>
>

--
Unsubscribe mailto:smokeping-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:smokeping-users-request at list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/smokeping-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the smokeping-users mailing list