[mrtg] Re: replace ".html"
Chris Kissinger
chris at aci.net
Fri Dec 15 17:12:44 MET 2000
Why not do exactly what he wanted?
Check out the reference file in the docs folder...
You'll find the PageTop and Extension variables which can be set on a
per target basis...
Here's the info:
-------------------------------
PageTop
Things to add to the top of the generated HTML page. Note that you can
have several lines of text as long as the first column is empty.
Note that the continuation lines will all end up on the same line in the
html page. If you want linebreaks in the generated html use the '\n'
sequence.
Example:
PageTop[ezwf]: <H1>Traffic Analysis for ETZ C95.1</H1>
Our Campus Backbone runs over an FDDI line\n
with a maximum transfer rate of 12.5 megabytes per
Second.
-------------------------------------
Extension
By default, mrtg creates .html files. Use this option to tell mrtg to
use a different extension. For example you could set the extension to
php3, then you will be able to enclose PHP tags into the output (usefull
for getting a router name out of a database).
Example:
Extension[ezwf]: phtml
---------------------------------
-----Original Message-----
From: Walliser Mark [mailto:walliser at agri.ch]
Sent: Friday, December 15, 2000 6:16 AM
To: mrtg at list.ee.ethz.ch
Subject: [mrtg] replace ".html"
hello
does anyone know if it's possible to replace the automatic generated
extension (.html) with ".asp"?
and in addition i'd like to add a header to the top of the file...
background i'd like to use a server-side-include-file for
authentication.
thnx 4 tips & hints
mark
--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive http://www.ee.ethz.ch/~slist/mrtg
FAQ http://faq.mrtg.org Homepage http://www.mrtg.org
WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive http://www.ee.ethz.ch/~slist/mrtg
FAQ http://faq.mrtg.org Homepage http://www.mrtg.org
WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
More information about the mrtg
mailing list