That solves #2, but not #1 or #3...

-----Burton

---------- Original Message ----------------------------------
From: "The Jetman" <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Date:  Wed, 3 Mar 2004 20:17:33 -0500

>----- Original Message ----- 
>From: "Burton M. Strauss III" <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Sent: Tuesday, March 2, 2004 13:40 PM
>Subject: RE: [Ntop] Title Bar Suggestion
>
>
>> Thanks (I think).
>> 
>> I actually looked into this a bit.  The problem is two fold 1) the
>> gethostname call doesn't always work - look at the mess in initialize.c  and
>> 2) (worse) a number of the pages, including the important one - index.html -
>> which is the title that's actually seen - are .html files, not internally
>> generated.
>> 
>> Oh, yeah and 3) If you are running multiple instances on the same physical
>> host, then the host name will be the same. Because it's a .html file, even
>> adding a run time parameter (or something in prefsCache.db) won't work.
>> 
>> 
>> Thus while I said I'd revisit it, your suggestion is probably the only
>> answer that could work.
>> 
>> 
>> -----Burton
>> 
>
>    Burton:  I'm not trying to add to the coding workload (esp since 
>the index.html hack works for me), but as far as I can see, the only 
>solution would be a mod to make index.html a dynamic frame page 
>that would be emitted from the web server, *if* NTOP were invoked w/ a 
>--hostname cmd-line param.  Later....Jet
>
>===============  From the desk of Jethro Wright, III  ================
>+       If it's there, and you can see it, it's real.                +
>+       If it's not there, and you can see it, it's virtual.         +
>+       If it's there, and you can't see it, it's transparent.       +
>+       If it's not there, and you can't see it, you erased it.      +
>===  jetman516 'at' hotmail.com  ==========================  Anon  ===
>
>_______________________________________________
>Ntop mailing list
>[EMAIL PROTECTED]
>http://listgateway.unipi.it/mailman/listinfo/ntop
>


____________________________________________________________
Free 20 MB Bannerless Domain Hosting, 1000 MB Data Transfer
10 Personalized POP and Web E-mail Accounts, and more.
Get It Now At www.doteasy.com



_______________________________________________
Ntop mailing list
[EMAIL PROTECTED]
http://listgateway.unipi.it/mailman/listinfo/ntop

Reply via email to