Apache's httpd web server is the way to go, if you ask me.

Download it for wind-blows or *nix here : http://httpd.apache.org/download.cgi

You may want to have something like the following 2 entries in conf/httpd.conf configuration file in the Windows version (depending on where you want to serve pages from).
They point to the default document root directory and a cgi-bin directory:

DocumentRoot "C:/Program Files/Apache Group/apache/mydefaultpages/"

ScriptAlias /cgi-bin/ "C:/Program Files/Apache Group/Apache/cgi-bin/"

Perl scripts within (C:/Program Files/Apache Group/Apache/cgi-bin/) will need to point to the Perl binary.
So, in each Perl script on the very first line you need to put in the path to perl.exe using the "hash bang + path-to-perl" entry.

IE: #!/some-dir/bin/perl

Here is an example perl cgi test script:

#!/perl/bin/perl print "Content-type:text/html\n\n"; print "<b>Perl</b> is working\n";

In reply to Re: cgi problem with xitami server by kabeldag
in thread cgi problem with xitami server by frederick213

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.