Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things

How can I serve Perl CGI scripts on Win32?

by sinan (Sexton)
on Sep 05, 2000 at 20:59 UTC ( #31145=categorized question: print w/replies, xml ) Need Help??
Contributed by sinan on Sep 05, 2000 at 20:59 UTC
Q&A  > CGI programming


I want to be able to use CGI offline from my Windows 95 machine, just as if I was running it from the Net. (Only a lot FASTER) What is the best perl Server for Windows 95 that contains the package?

Something easy to install, please.

Answer: How can I serve Perl CGI scripts on Win32?
contributed by Ovid

You're talking about two different things. Perl is not CGI, nor is it a Web server. What you need is a Web server and Perl, two separate things.

I would get my version of Perl for Windows from ActiveState and then get a copy of Apache for Windows. It's easy to install, but you need to read through the docs for configuration information. Configuration is simple, though, if all you want is CGI.

Answer: How can I serve Perl CGI scripts on Win32?
contributed by Zombie pjakobs

If you already have a server with IIS installed and don't want to install Apache instead, you can also get ActiveState to work with IIS. As long as you install ActiveState perl after IIS has been installed, ActiveState will configure IIS for you automagically. Otherwise, you can configure it manually. Just follow the instructions here:

Answer: How can I serve Perl CGI scripts on Win32?
contributed by erikharrison

You need a Web Server. Apache and IIS are your best choices.

You need a copy of the Perl distribution. Active State is your best bet.

As for getting things to go FAST, you could use Active State's PerlEX or mod_perl for Apache. Look these up to see if they meet your needs.

Answer: How can I serve Perl CGI scripts on Win32?
contributed by simon.proctor

If you are running windows 95 then you can forget IIS. On the win95 machine at work I have used Apache and PWS. I'd start with those (though Apache is the better of the two by miles).

Install Activestate Perl and you will get the CGI module as standard. Then just follow the docs to get it to work with PWS (if thats what you go for) or look at ScriptAlias and AddHandler for Apache.

HTH :)

Answer: How can I serve Perl CGI scripts on Win32?
contributed by chromatic

Jellybean is a small Perl object server that speaks HTTP, serves simple files, and has CGI support. It runs on Windows, and could use some testers there.

It's written completely in Perl, and is very easy to setup. (and, yes, I and jlp work on it).

Please (register and) log in if you wish to add an answer

  • 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, 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, 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.
  • Log In?

    What's my password?
    Create A New User
    and the web crawler heard nothing...

    How do I use this? | Other CB clients
    Other Users?
    Others lurking in the Monastery: (4)
    As of 2020-08-08 04:17 GMT
    Find Nodes?
      Voting Booth?
      Which rocket would you take to Mars?

      Results (51 votes). Check out past polls.