[mrtg] Re: mrtg/rrd cgi problem

William Owen William.Owen at ProfilesInternational.com
Thu Mar 18 14:52:00 MET 2004


IIS 6 does not automatically setup the script mappings for Perl CGI scripts
correctly.

1st
In IIS 6 (bundled with Server 2003 Web) you need to go to the IIS Web Server
Extensions and either enable all unknown CGI extensions (not recommended) or
add a new web server extension called Perl or something like that.  Add the
C:/path/to/perl/perlis.dll file to the Required Files and check the allow
box (this will tell IIS that it can use this file as a script mapping).

2nd
You need to go to the folder in your website that has the CGI you wish to
execute (IIS6 MMC->Server->Web Sites->Your Site->Virtual Directory with
CGI).  Click on properties and go to the Home Directory tab.  Click
configure on the application settings.  Add the application mappings for
.cgi and .pl that use the same perlis.dll as used in 1st.  Add the verbs
that you wish (I use only GET and POST).

Try browsing your CGI again.

-----Original Message-----
From: Robin [mailto:robin at manx.net] 
Sent: Thursday, March 18, 2004 4:57 AM
To: MRTG List
Subject: [mrtg] mrtg/rrd cgi problem


Hello

I having problems with the cgi script. The RRD db is working fine and is
creating the .rrd file in the appropriate directory. I have amended the cgi
script to point to this directory etc. However when I try and run it in IIS
nothing happens, doesn't even open a webpage.

Any ideas at all? Do i need any other files to make it all work? do I need a
cgi-bin directory?

Im running Windows 2003 Web edition.

TIA

Robin


*************************************************************
Your mail has been scanned by the Manxnet Mail Plus anti-virus system.
http://www.manx.net/solutions/mailplushome.asp
*************************************************************

--
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