autoprefix is my code (hack). I never had a possibility to test it on NT, although the code is very simple and keeps present the difference between unix and windows dir separator (/ or \).
On unix a working example would be --autoprefix --output /home/mrtg/out/mrtg/overviewprinter.html with the config file containing HtmlDir: /home/mrtg/out/mrtg/printer generating a prefix of printer/ . It should work as well if you use something like --autoprefix --output \some\dir\index.html HtmlDir: \some\dir\out or even --autoprefix --output d:\some\dir\index.html HtmlDir: d:\some\dir\out it almost certainly won't work if you specify different drives, e.g. --autoprefix --output d:\some\dir\index.html HtmlDir: e:\some\dir\out (if that makes sense depends of the environment of your http server) since no provision is made for distinguishing of drives and directories on windows - you'll probably end up with something like ..\..\..\e:\some\dir\ . If you want to contribute a patch to indexmaker you'll need to add some simple logic in sub subpath($$). Heiko -- -- PREVINET S.p.A. [EMAIL PROTECTED] -- Via Ferretto, 1 ph x39-041-5907073 -- I-31021 Mogliano V.to (TV) fax x39-041-5907472 -- ITALY > -----Original Message----- > From: Sergio Parroquin [mailto:[EMAIL PROTECTED] > Sent: Friday, February 14, 2003 9:05 PM > To: [EMAIL PROTECTED] > Subject: Autoprefix on Windows? > > > > Does anyone know how to use mrtg --autoprefix on > Windows? I've been trying and couldnt find the right > combination of htmldir no my config file and the > --autoprefix parameter. Didnt find any valid example > on the web either. > > Thanks a lot. > Sergio > > __________________________________________________ > Do you Yahoo!? > Yahoo! Shopping - Send Flowers for Valentine's Day > http://shopping.yahoo.com > > -- > Unsubscribe mailto:[EMAIL PROTECTED] > 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:[EMAIL PROTECTED] 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
