From owner-freebsd-questions Tue Sep 26 17:58:34 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mail8.bigmailbox.com (mail8.bigmailbox.com [209.132.220.39]) by hub.freebsd.org (Postfix) with ESMTP id 8EF7037B423 for ; Tue, 26 Sep 2000 17:58:30 -0700 (PDT) Received: œby mail8.bigmailbox.com (8.8.7/8.8.7) id SAA13051; Tue, 26 Sep 2000 18:02:50 -0700 Date: Tue, 26 Sep 2000 18:02:50 -0700 Message-Id: <200009270102.SAA13051@mail8.bigmailbox.com> Content-Type: text/plain Content-Disposition: inline Content-Transfer-Encoding: binary X-Mailer: MIME-tools 4.104 (Entity 4.116) Mime-Version: 1.0 X-Originating-Ip: [209.178.178.240] From: "gummibear@nettaxi.com" To: questions@freebsd.org Subject: Apache and CGI help needed on FreeBSD Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 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