Why not use vmware or similar to create a virtual *nux machine on your Windows box. You set up the virtual machine and then install *nix on it plus Apache etc. The main advantage of this is that this machine can be IDENTICAL to your production box (almost down to the last detail) so the transfer will almost inevitably work or a the very least be pretty painless.

Although this will work the cheapest option would be to buy and old 586/686 for less than $100 and put up a *nix development server.

Now as to your problem. The first error shows that neither . or /usr/sbin/ are in you path (command not found) so try calling apachectl with the full path (or as ./apachectl if you are in /usr/sbin). If you can't find a working Apache on your cygwin install just build it from source from the tarball. It is usually fairly painless. You will have gcc......

cheers

tachyon

s&&rsenoyhcatreve&&&s&n.+t&"$'$`$\"$\&"&ee&&y&srve&&d&&print


In reply to Re: (OT) apache and modperl and cygwin by tachyon
in thread (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.