in reply to Simmulation of cgi scripts, offline.

baz asks here: I was wondering is it possible to simulate a cgi environment on my pc. I agree with the_slycer It would be easier to install apache or Microsoft Personal Web Server.

You get to look at all the logs...

From scratch, without prior experience and with mid level tech skills, it took me about 8 hours to install IIS and 8 hours to install and configure apache. It was well worth the effort.

If you are running win95/win98/ME your mileage may vary. I've heard people have trouble getting perl scripts to run as easily. (Though I think Windows Apache can be configured to use the !# line)

update: Of course if you are exposing a service to the outside world, you want to be sure that you have installed all the security patches for your OS...Especially if you are running a Code Red or Mimda vunerable OS



--mandog

  • Comment on Re: Simmulation of cgi scripts, offline.(install a server)

Replies are listed 'Best First'.
Re: Re: Simmulation of cgi scripts, offline.(install a server)
by $code or die (Deacon) on Sep 28, 2001 at 20:46 UTC
    On Windows, it would probably be easier to install Indigoperl. This installs Perl 5.6.1 and Apache.

    Simon Flack ($code or die)
    $,=reverse'"ro_';s,$,\$,;s,$,lc ref sub{},e;$,
    =~y'_"' ';eval"die";print $_,lc substr$@,0,3;
      It's "hella", dats right, "hella" easier to install indigoperl than apache. To get a real good idea of how easy it is, just read this.

       
      ___crazyinsomniac_______________________________________
      Disclaimer: Don't blame. It came from inside the void

      perl -e "$q=$_;map({chr unpack qq;H*;,$_}split(q;;,q*H*));print;$q/$q;"