[rrd-users] Re: Newbie needs help with 14all.cgi

Mike Bernhardt mbernhardt at arsin.com
Fri Feb 23 23:35:49 MET 2001


I've used it on NT without a problem, but your original question isn't here
so I can't help at the moment {:-0

I can tell you that I used mrtg 2.9.7 to do it, I don't know if that had
something to do with it. Regarding the stuff below, I used:
$cfgfile = 'C:\Apache\cfgfiles\mrtg.cfg';

which I would think would work out the same for perl. Did you try running
the cgi from the command line to get better error messages than your browser
gives?

-----Original Message-----
From: David Sawyer [mailto:david.sawyer at uk.mckhboc.com]
Sent: Friday, February 23, 2001 3:07 AM
To: 'rrd-users at list.ee.ethz.ch'
Subject: [rrd-users] Re: Newbie needs help with 14all.cgi



If there is anybody out there who has got 14all.cgi to work on an NT box,
could you help me with my problem.

Dave

> -----Original Message-----
> From:	David Sawyer [SMTP:david.sawyer at uk.mckhboc.com]
> Sent:	Thursday, February 22, 2001 5:01 PM
> To:	'alex at slot.hollandcasino.nl'
> Cc:	rrd-users at list.ee.ethz.ch
> Subject:	[rrd-users] Re: Newbie needs help with 14all.cgi
> 
> 
> I am no programmer, but at line 104 it reads...
> $cfgfile = $1 . '.cfg';
> 
> Near the top of the script I've changed a line to read...
> $cfgfile = 'c:/mrtg-2.9.4/bin/mrtg2.cfg';
> 
> 
> > Escape characters can be a bitch.  I assume you want to match
> > strings like '\something.pl' but not '\\server\host\whatever.pl'
> > 
> > The backslash has a special meaning. It tells the software to use
> > the next character without a special meaning (if any).  So, to scan
> > for a backslash, you have to type two of them. You are now starting
> > a range (with '[') containing, amongst other characters, the ']' char.
> > 
> > It should probably be something like /\\[^\\]*\.(cgi|pl)$/
> > although I'm not sure that this is safe!
> 
> 
> 
----------------------------------------------------------------------------
The information contained in this e-mail is confidential and is intended
only for the named recipient(s). If you are not the intended recipient you
must not copy, distribute, or take any action or reliance on it.
If you have received this e-mail in error, please notify the sender.
Any unauthorised disclosure of the information contained in this e-mail
is strictly prohibited.
----------------------------------------------------------------------------



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

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



More information about the rrd-users mailing list