[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4688: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4690: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4691: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4692: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
Cheshire Cat Computing :: View topic - Changing descriptions for grouped routers?
Cheshire Cat Computing
http://www.steveshipway.org/forum/

Changing descriptions for grouped routers?
http://www.steveshipway.org/forum/viewtopic.php?f=2&t=172
Page 1 of 1

Author:  trana [ Wed Mar 24, 2004 5:11 am ]
Post subject:  Changing descriptions for grouped routers?

How do I change the description in the left hand menu for groups of routers? For example, I have grouped everything into newyork\*.cfg and california\*.cfg. The grouping works fine, but I can't seem to get the names to work:

[targetnames]
newyork\ = New York
C:\mrtg\bin\california\ = California

I tried it both ways listed above and neither seem to work.

Please note, I am running this on NT/2000.

Thanks!

Author:  stevesh [ Wed Mar 24, 2004 9:51 am ]
Post subject: 

The second one, but without the trailing slash.

C:\foo\bar = Routers in Bar
C:\mrtg\bin\california = California

Under Windows, make sure you have the correct upper/lower case for the directory names.

Steve

Author:  trana [ Wed Mar 24, 2004 10:41 am ]
Post subject: 

Hmmm, thats what I have now and it still doesn't work.

Is there anything else I need to do?

C:\mrtg\bin\newyork = New York
C:\mrtg\bin\burbank = Burbank

Author:  stevesh [ Wed Mar 24, 2004 8:11 pm ]
Post subject: 

Check that the case is correct -- remember, c:\mrtg\Burbank is not the same as C:\mrtg\burbank when you are using Windows. This is almost certainly the problem.

You can look at the Info pages to see what case the system actually is using. Make sure that your definition of confpath uses the same case -- particularly for the drive letter.

routers.cgi is case-sensitive because it needs to be for UNIX. It might be a good plan for the future if I put in extra code to do a case-insensitive check if it detects a Microsoft operating system ...

Steve

Author:  trana [ Thu Mar 25, 2004 3:16 am ]
Post subject: 

Got it.

The problem was that "C:\" doesn't work, it has to be "c:\".

Thanks.

Author:  stevesh [ Thu Mar 25, 2004 12:35 pm ]
Post subject: 

I'm adding a line to the current version to make a lower-case comparison if running windows. Unfortunately it is a bit difficult to do a completely case-ignored one, since it uses a hashed lookup.

Steve

Author:  stattik [ Thu Apr 01, 2004 11:36 am ]
Post subject: 

Hi,

I'm having the same problem and I've checked my case and syntax. Here's what i have in my config:

routers2.cgi version: 2.14b5 (win2000 pro)(I've tried this with 2.13a as well)

confpath = e:\MRTG\mrtg-2.9.22\bin\cfgs


group = yes

[targetnames]

e:\MRTG\mrtg-2.9.22\bin\cfgs = Configs
e:\MRTG\mrtg-2.9.22\bin\cfgs\routers = Routers


In the left column, 'Configs' show up correctly with the files in it's directory but 'Routers' doesn't show up at all.

If I change the config like this...

confpath = e:\MRTG\mrtg-2.9.22\bin\cfgs\routers

...then the 'Routers' directory shows up in the left column but the 'Configs' does not.



Any help would be greatly appreciated,


Steve

Author:  stevesh [ Thu Apr 01, 2004 8:27 pm ]
Post subject: 

What is your cfgfiles?

If you have something like:

confpath = C:\mrtg\FOO
cfgfiles = Abc\*.cfg def\*.cfg

then you need

C:\mrtg\FOO\Abc = ABC routers
C:\mrtg\FOO\def = DEF routers

see how it matches the case in the confpath and cfgfiles.

If you have

cfgfiles = *\*.cfg

then you need to use the 'real' case of the file -- the one you see if you do a dir in the directory. Windows tends to hide the 'real' case when you view it in Explorer.

Windows lack of case sensitivity is a real problem, maybe I'll have to just flatten the case of everything if Windows is detected... this is awkward though for a few reasons down to the code structure.

Steve

Author:  stattik [ Fri Apr 02, 2004 5:14 am ]
Post subject: 


Author:  stevesh [ Sat Apr 03, 2004 12:45 am ]
Post subject: 

Dont forget cfgfiles can be a list, so this is also valid:

cfgfiles = *.cfg */*.cfg

This lets you use the per-user directives to list individual directories or groups of directories for different users (as we do here)

Steve

Page 1 of 1 All times are UTC + 12 hours [ DST ]
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/