Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Sep 2000 07:50:57 +1100
From:      Danny <dannyh@idx.com.au>
To:        "gummibear@nettaxi.com" <gummibear@nettaxi.com>, questions@FreeBSD.ORG
Subject:   Re: Apache and CGI help needed on FreeBSD
Message-ID:  <00092907523204.00344@freebsd.freebsd.org>
References:  <200009270102.SAA13051@mail8.bigmailbox.com>

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

Yes there is ways such as adding scriptalias /cgi-bin /usr/local/cgi-bin/ etc

To get the /home/username/public_html/cgi-bin as in the firstline of your email.
Look for a product called

cgiwrap

in www.freebsd.org/ports/


Looking forward to your feedback.

dannyh
dannyH@idx.com.au

On Wed, 27 Sep 2000, gummibear@nettaxi.com wrote:
> Hey all!
> 
> I'm runing FreeBSD 4.1R and have installed apache 1.3.12 and mod_php 3.0.16 from the packages.  PHP works like a charm, but I'm trying to get CGI running out of user home directories.  I'm wondering if there is some configuration magic that needs to be done in order to get that working.
> 
> As I understand there are a couple of ways to get CGI running.  One is to have a cgi-bin which the server understands to exucute files within tht directory and there is also a way for the server to execute cgi files in any directory (ie *.cgi extention files).  I have figured out that I can add ExecCGI to the main <Directory /> options (along with uncommenting the #AddHandler *cgi directive or whatever it's called - which seems to work), but I question the security issues invoved.
> 
> I'm looking to set it up where CGI files are only executable from the users ~/public_html/cgi-bin directory.  I have searched far and wide to find the answer to this.  I believe that it has to do with the ScripAlias directive but it just doesn't seem tow work for me.  It might also have to do with .htaccess files, but I'm  not clear on that subject.
> 
> Any help setting up the configuration would be appreciated.
> 
> TIA
> 
> Joey
> 
> ------------------------------------------------------------
> Nettaxi MP3 Player, Burner, Ripper - NEW Version 2.0!!! DOWNLOAD IT FREE! (5MBs)
> MP3 DOWNLOAD:  http://www.nettaxi.com/mp3/version_2/ntxy_MP3_setup.exe
> 
> 
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message


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?00092907523204.00344>