Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Nov 2001 10:34:50 +1000
From:      "Julian Morgan" <jmorgan@mitchells.com.au>
To:        freebsd-questions@FreeBSD.ORG
Subject:   Apache problem
Message-ID:  <4A256B02.00033180.00@mail.mitchells.com.au>

next in thread | raw e-mail | index | archive | help


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 - <A
HREF="cgi-bin/counter.pl">Dynamic page</A> ,  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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4A256B02.00033180.00>