http://qs321.pair.com?node_id=265977


in reply to Setting up Perl/CGI with Windows

Some newbie comments on setup: The files on the mirror site under "httpd" and "binaries" were sorted in order such that a version 1.x of Apache was at the top of the list. Looking recently built and not bothering to scroll down to "older" binaries at the mirror, I downloaded that one and started installing. Its README said that if version 2 of Apache was available that it should be preferred. Guess what, further in the list, there's Apache2. So, instead of installing V1 I got and installed V2.

Along the way you have to tell Apache what your domain name is. (You are not supposed to make one up....). The httpd.conf file in the conf directory says to use your Internet number instead, and combined with an install-time instruction about running just with my login id, I wound up configuring a ServerName of 192.168.1.1:8080 (not my real ip address...) which, when I type http://192.168.1.1:8080/ works! :-) The test script gets invoked via http://192.168.1.1:8080/cgi-bin/test.cgi

Replies are listed 'Best First'.
Re: Re: Setting up Perl/CGI with Windows
by Khemikal (Initiate) on Jul 08, 2003 at 13:22 UTC
    About setting this up with domain names and such. Im on an internal network with only once box. The box im on is Windows 2000 Pro. I would like to setup a cgi testbed to work with but cant have traffic popping out on the network as to not make IDS mad. Is there a way to set this up w/o using the domain info and such that I am on? Should I have to worry about random packets going out to the network or does Apache just wait for requests?