Hi -- Sorry for a slighly non-perl question but I am quite stuck and am wondering if any Monks can offer advice.

Disclaimer: I am quite new to Apache and mod_perl.

I'm trying to develop code on a windows box to later run unchanged on a linux apache production server. I first tried the native win apache binaries with indigo mod-perl. The problem is that that system (I believe) doesn't support libapreq, so I can't use Apache::Cookie or Apache::Logfile. I don't a windows C++ compiler so I couldn't / didn't want to try compiling Apache on windows.

So next I opted to install Cygwin and try to run Apache thru it. I used the Cygwin setup.exe program and asked for 'install everything', which it did, and which (I think) should have included Apache. Cygwin seems to have installed OK; I can run the shell and emacs and the windowing system and such. However, while the apache docs are there, and apachectl and httpd.exe are there, I can not start apache, either from w/in Cygwin or from outside. Here's an example
AAA@sam /usr/sbin $ ls ap* apachectl apxs AAA@sam /usr/sbin $ apachectl bash: apachectl: command not found
Here's another
AAA@sam ~ $ httpd bash: httpd: command not found
I am quite confused.
Can someone suggest the how I can run apache on a win box and use Apache::Cookie and Apache::Logfile?

Many thanks

nop

In reply to (OT) apache and modperl and cygwin 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.