rkg has asked for the wisdom of the Perl Monks concerning the following question:

Hi -- I am having trouble getting CGI::Kwiki to work under PWS. Index.cgi runs fine from the command line, but won't run in the browser -- it dies unable to find the template directory. I did install the code under wwwroot/cgi-bin/my-wiki as the README instructed. Anyone w/ experience with Wiki on Windows able to offer any suggestions? rkg

Replies are listed 'Best First'.
Re: Kwiki, IIS / PWS, Activestate
by jmcnamara (Monsignor) on Jun 01, 2003 at 21:24 UTC

    I installed CGI::Kwiki on a number of systems recently, including Windows.

    I didn't do anything more than:

    perl Makefile.PL make make test make install cd ~/cgi-bin mkdir kwiki cd kwiki kwiki-install
    On Windows it ran without problems. I was using Apache however and not IIS.

    It is a nice module. I'd recommend it to anyone with a casual interest in setting up a Wiki.

    --
    John.

Re: Kwiki, IIS / PWS, Activestate
by rkg (Hermit) on Jun 05, 2003 at 19:23 UTC
    Hi, all, it is rkg again. While I did get Kwiki to run under activestate and IIS, it wasn't pretty. While the app is Windows friendly, it is unfriendly to non-Apache apps, given how it handles directories. It also uses grep for search, so Windows sufferers will need a grep, or Cygwin, whatever. My advice -- run Kwiki under Apache, 'nix or NT, but definately happier and easier under Apache.

    rkg

      CGI::Kwiki works fine on Windows/ActiveState Perl, though there are some quirks. It builds and installs okay, but the tests will fail, don't worry, the tests need fixing to work on NT, I've nagged Ingy about this, as have others.

      Apache works great on NT, the 2.x version is quite good now, rather than a hack of a hack as the 1.3 version was. IIS and it's little brother PWS are quite terrible web servers, with plenty of know defects some very serious. Unless you have a very good reason for using them I'd install Apache instead. The other advantage of Apache is that your more likley to find documentation for it, CGI::Kwiki includes details on how to set it's self up on Apache, on anything else you have to figure it out yourself- that's pretty common.

      The latest versions of Kwiki don't use the systems grep, so the search works quite fine on Windows now, without CygWin on them. Though I'd install Cygwin anyway as it's very useful on a Windows box.

      Update: Added RT link. Brian says he will fix it eventually.


      --
      ajt