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

David Sawyer david.sawyer at uk.mckhboc.com
Fri Feb 23 12:06:40 MET 2001


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



More information about the rrd-users mailing list