From owner-freebsd-questions Wed Aug 20 18:47:59 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id SAA21622 for questions-outgoing; Wed, 20 Aug 1997 18:47:59 -0700 (PDT) Received: from cerberus.partsnow.com (gatekeeper.partsnow.com [207.155.26.98]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id SAA21616 for ; Wed, 20 Aug 1997 18:47:56 -0700 (PDT) Received: (from bin@localhost) by cerberus.partsnow.com (8.8.5/8.6.9) id LAA14388; Tue, 19 Aug 1997 11:44:45 -0700 (PDT) X-Authentication-Warning: cerberus.partsnow.com: bin set sender to using -f Received: from pcconsole(192.168.100.254) by cerberus.partsnow.com via smap (V2.0) id xma014383; Tue, 19 Aug 97 11:44:19 -0700 Message-ID: <33FB9DD2.798C@PartsNow.com> Date: Wed, 20 Aug 1997 18:45:54 -0700 From: Don Wilde Reply-To: don@PartsNow.com Organization: Soligen, Incorporated X-Mailer: Mozilla 3.0 (Win16; I) MIME-Version: 1.0 To: amuniz@interdata.net CC: questions@freebsd.org Subject: Re: CGI References: <33FB662A.A93@interdata.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Two resources which will solve your problems: http://www.apache.org and http://www.hwg.org. It's not FreeBSD that's different, you need to enable CGI in your Apache config files. In the latest 1.2b10 distribution, these are in /usr/local/etc/apache. They're actually pretty well documented in the files [ horselaugh, sorry! ], so edit those files to enable Options ExecCGI in the CGI directory, enable the ScriptAlias for /cgi-bin/ to be /usr/local/www/cgi-bin or wherever your data is (mine's /var/httpd/cgi-bin because I made a big /var partition on a separate disk) and enable the line that allows execution of .cgi scripts. Finally, kill -HUP `cat /var/run/httpd.pid` to restart all the httpd processes. Actually, I believe the later versions killing the first PID will kill and restart all of them. The HWG is an excellent webmaster's resource for any level of expertise, and Apache.org has, of course the TFM to R. ;) Have fun, it's actually simple. (Of course, I've done it a dozen times, so maybe I've forgotten some of the frazzle and pizzazz.) -- oooOOO O O O o * * * * * * o ___ _________ _________ ________ _________ _________ ___==_ V_=_=_DW ===--- Don Wilde [don@PartsNow.com] [http://www.PartsNow.com ] /oo0000oo-oo--oo-ooo---ooo-ooo---ooo-ooo--ooo-ooo---ooo-ooo---ooo-oo--oo