in reply to Running CGI scripts without a server

Why not just run a webserver on your PC?

Apache is a dandy one that runs on virtually every platform...

Where do you want *them* to go today?
  • Comment on Re: Running CGI scripts without a server

Replies are listed 'Best First'.
Re: Re: Running CGI scripts without a server
by Evanovich (Scribe) on Apr 02, 2003 at 05:58 UTC
    Well, I installed the Apache package, but I'm not really sure how to use it without giving it a security certificate and all that. I know so little about servers, so there's probably something I'm missing. If someone can steer me towards a good Apache tutorial, I'd certainly be appreciative.

      You won't need a cert.

      Everything you'll need to configure is in httpd.conf. I run Windows 98, so mine is in "C:\Program Files\Apache Group\Apache\conf\httpd.conf".

      There are excellent docs with the Apache package, but I've always thought httpd.conf is very straight-forward. Just make a backup of it in case you screw something up.

      You could also just use the default directories --

      • C:\Program Files\Apache Group\Apache\htdocs
      • C:\Program Files\Apache Group\Apache\cgi-bin

      You'll need to put your scripts in the cgi-bin directory...

      Where do you want *them* to go today?