Date: Sun, 17 Sep 2000 23:47:54 -0400 (EDT) From: Jim Weeks <jim@siteplus.net> To: Peter Brezny <pbrezny@purplecat.net> Cc: freebsd-isp@FreeBSD.ORG Subject: Re: FW: Apache perl script execution. Message-ID: <Pine.BSF.4.21.0009172343190.380-100000@veager.siteplus.net> In-Reply-To: <000901c02118$0b932be0$c901a8c0@ashvil1.nc.home.com>
next in thread | previous in thread | raw e-mail | index | archive | help
You should name the file *.cgi if it lives outside the cgi-bin, and uncomment the line AddHandler cgi-script .cgi in your httpd.conf hope this helps, -- Jim Weeks On Sun, 17 Sep 2000, Peter Brezny wrote: > I sent this to the freebsd-www list (thinking i could then subscribe) but > being a closed list, majordodo wouldn't let me in. > > If anyone would care to share a chunk of their httpd.conf file. I'm sure > this is mind numbingly simple, but i'm stuck. > > TIA. > > Also, i'm running name virtual hosts (if that makes any difference). > > peter > > -----Original Message----- > From: Peter Brezny [mailto:pbrezny@purplecat.net] > Sent: Sunday, September 17, 2000 10:06 PM > To: 'freebsd-www@freebsd.org' > Subject: Apache perl script execution. > > > 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-isp" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0009172343190.380-100000>