Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Sep 2000 18:02:50 -0700
From:      "gummibear@nettaxi.com" <gummibear@nettaxi.com>
To:        questions@freebsd.org
Subject:   Apache and CGI help needed on FreeBSD
Message-ID:  <200009270102.SAA13051@mail8.bigmailbox.com>

next in thread | raw e-mail | index | archive | help
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




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