I've been trying to get a development WinNT machine running with mod_perl and Apache. I've been able to do this successfully two different ways: Indigo binaries and Cygwin out-of-the-box binaries. I also tried to build Apache and mod_perl from sourece under Cygwin; Apache compiled fine but I had problems with mod_perl.

On my linux production server, I want (I think) to use Apache::Cookie and Apache::LogFile in my application. If I do, I'd obviously need the same on the development box.

The problem is these modules use libapreq, which according to extensive google searching is hard (or impossible) to get running under Windows, or under Cygwin.

My question has three parts:
  1. Did I miss something? That is, maybe I'm missing something obvious and this isn't hard and someone can point me to a link that gets these packages working for me under Windows.
  2. Am I going down the wrong path altogether? That is, should I abandon my intent to use these two modules and use CGI::Cookie and some hand-rolled logging functionality instead? (The modperl developer's cookbook p.552 warns against rolling-your-own logfile routines, so that scared me off...)
  3. If the Apache:: modules aren't the right approach, and I do use CGI:: and hand-rolled logging, what am I sacrificing? That is, what are the cons of CGI::Cookie vs. Apache::Cookie? And can anyone point me towards good code that mimics the functionality of Apache::Logfile?
Thanks for helping out.

Quite befuddled --

nop

In reply to Apache on Windows, and Apache:: Modules vs. Non-Apache by nop

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.