From owner-freebsd-questions Sun Nov 11 15:44:40 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mitch.adsl.labyrinth.net.au (mitch.adsl.labyrinth.net.au [202.182.88.14]) by hub.freebsd.org (Postfix) with ESMTP id BF06D37B416 for ; Sun, 11 Nov 2001 15:44:36 -0800 (PST) Received: from mail.mitchells.com.au (ip30.int.mitchells.com.au [192.168.120.30]) by mitch.adsl.labyrinth.net.au (8.11.3/8.11.3) with SMTP id fABNiV604643 for ; Mon, 12 Nov 2001 10:44:32 +1100 (EST) (envelope-from jmorgan@mitchells.com.au) Received: by mail.mitchells.com.au(Lotus SMTP MTA v4.6.7 (934.1 12-30-1999)) id 4A256B02.0003331F ; Mon, 12 Nov 2001 10:34:56 +1000 X-Lotus-FromDomain: MITCHELLMELB From: "Julian Morgan" To: freebsd-questions@FreeBSD.ORG Message-ID: <4A256B02.00033180.00@mail.mitchells.com.au> Date: Mon, 12 Nov 2001 10:34:50 +1000 Subject: Apache problem Mime-Version: 1.0 Content-type: text/plain; charset=us-ascii Content-Disposition: inline Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Firstly - thanks to ppl on this forum that have helped in previous problems - I have had three questions - and two were solved directly through you guys ;O) I have another though - see if you can help.. I am running FreeBSD 4.3 Release, and have recently got the thing up and running Apache, which was pritty easy.... Now that I am running web - I have only really had to make a couple of changes, server side wise, to get the web pages to do what I need to do... For instance a link from the base www directory, /usr/local/share/doc/apache/, to the cgi-bin /usr/local/www/cgi-bin.default and enabling all .shtml files to be executed SSI style by changing /usr/local/etc/apache/httpd.conf file to include stuff like Options +Includes AddType text/html .shtml AddHandler server-parsed .shtml Now for the question... The next thing I want to do is to have cgi scripts execute into html pages without the need to bring up a new window.. I have reseached a little so this is what I mean... I am wanting to get a simple cgi-hit-counter up and running on the opening page.... I have already got other cgi things working so I know CGI is working properly on the server... I can get the counter to work using html code - Dynamic page , but this brings it up in a new window - WHICH I DON'T WANT.. The example code says you should be able to use < To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message