From owner-freebsd-www Sun Sep 17 19: 9:33 2000 Delivered-To: freebsd-www@freebsd.org Received: from black.purplecat.net (ns1.purplecat.net [209.16.228.148]) by hub.freebsd.org (Postfix) with ESMTP id D40F037B423 for ; Sun, 17 Sep 2000 19:09:30 -0700 (PDT) Received: from ci337160a (ci377160-a.ashvil1.nc.home.com [24.15.65.209]) by black.purplecat.net (8.8.8/8.8.8) with SMTP id WAA21547 for ; Sun, 17 Sep 2000 22:11:23 -0400 (EDT) (envelope-from pbrezny@purplecat.net) Reply-To: From: "Peter Brezny" To: Subject: Apache perl script execution. Date: Sun, 17 Sep 2000 22:06:06 -0400 Message-ID: <000801c02115$01bf06a0$c901a8c0@ashvil1.nc.home.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook CWS, Build 9.0.2416 (9.0.2911.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 Sender: owner-freebsd-www@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi, This should be a simple question, but i've not been able to figure it out searching around in apache.org or perl.org. I'm running an old freebsd 2.2.6 install with perl (i think version5) and apache. I have a FormMail.pl script located in side a document root with rwxr_x__x permissions that allows execution by any random user in a shell script. However, when the contact.html form hits the script, the browser wants to know if I would like to download the file. I'm sure there is something simple i've missed in the httpd.conf file, and i think it migh be that I just don't know how to configure the following commmented out lines in my httpd.conf file, but the bottom line is, i'm stuck. Any help will be appreciated. Thanks. Peter Brezny purplecat.net is this my problem? do i need to uncomment and modify these lines? if so, do you have an example I can follow. Thanks in Advance. # Action lets you define media types that will execute a script whenever # a matching file is called. This eliminates the need for repeated URL # pathnames for oft-used CGI file processors. # Format: Action media/type /cgi-script/location # Format: Action handler-name /cgi-script/location To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-www" in the body of the message