Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Mar 2005 17:23:40 -0500
From:      Ean Kingston <ean@hedron.org>
To:        Shawn B <shawnblan@yahoo.com>
Cc:        FreeBSD-questions@FreeBSD.ORG
Subject:   Re: CGI script executing and Apache help (2nd try & important)
Message-ID:  <64869E23-8E8E-11D9-AE49-000A95D73348@hedron.org>
In-Reply-To: <20050306221902.57767.qmail@web30204.mail.mud.yahoo.com>

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

On Sunday, March 6, 2005, at 05:19  PM, Shawn B wrote:

> I am running FreeBSD-4.8 with Apache 1.3 installed. I
> changed the htdocs directory in httpd.conf to
> /home/user1/public_html/ and I added a /cgi-bin/ in
> the same user directory. Scripts will not execute from
> the cgi-bin, as the scripts contents are displayed in
> the browser window. I went through httpd.conf using
> the search feature in Easy Editor, editing sections
> that have .cgi in it. Now, I am stumped as to how to
> get the CGI scripts to execute.

Try searching again. This time for 'cgi-bin'. You will notice there is 
a section similar to the htdocs bit that defines cgi-bin.

If you are going to run a web server it might be prudent to go through 
the apache configuration and documentation site to try and understand 
what the configuration file has set up for you. You can find the web 
server documentation at: http://httpd.apache.org/docs/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?64869E23-8E8E-11D9-AE49-000A95D73348>