Is there some small web server that can be installed on several platforms that can just interpret my cgi and fork the processes, independently from the presence of Apache or something else?

Although there are small httpds available for either platform, I don't know of one that supports both. Brewing up your own with HTTP::Daemon could quickly turn into a large project.

Have you considered bundling your own minimal distribution of Apache? This would certainly work on Unix where you can easily have two Apache servers running. I suspect you could do the same on Windows. (Can someone else say for sure?)

This would solve the very messy problem of trying to find an existing web server and making your stuff work nicely with it. Besides, as your software already runs on Apache, you wouldn't have to waste effort on making the transition to another server platform.

-sauoq
"My two cents aren't worth a dime.";

In reply to Re: Running locally a cgi application on different platforms by sauoq
in thread Running locally a cgi application on different platforms by rbi

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.