I'd like to use awstats for website statistics. Is there some free Perl distribution that plays nicely with IIS 7?

This is what I've tried:

  • Googling for perl iis yields a lot of tutorials, all of which refer to ActivePerl. Alas, ActivePerl requires a $999/year license if you want to use it on an "external-facing" or production server (see Section 4b of the ActivePerl Community License Agreement or this SO question).
  • The Perl download page also mentions Strawberry Perl and DWIM Perl, none of which mention IIS at all on their homepages. Since there are multiple ways to integrate software to IIS (ISAPI, CGI, Fast-CGI, etc.), I'd like something that explicitly mentiones how it should be integrated into IIS.

Are there other alternatives that I have missed?

  • Have you looked at standalone perl application servers, and using iis as a reverse proxy? – Slicedpan Aug 28 '13 at 15:43
  • @Slicedpan: Not yet. Since it's just for a simple web statistics script, I'd like to keep the configuration as simple as possible. – Heinzi Aug 28 '13 at 15:48

You can use pretty much any perl distribution you want.

Awstats is a CGI script - the configuration for a CGI handler for (e.g.) Strawberry perl is exactly the same as for ActivePerl - except that the path to the perl executable might be different.

There is an article on HowToGeek that goes through setting up a Perl CGI handler in IIS7 step by step, but the IIS documentation also covers this material.

  • Using Strawberry with the "usual" CGI setup works perfectly fine. – Heinzi Oct 30 '13 at 18:02

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.