[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cobalt-users] Re: cgi question
- Subject: [cobalt-users] Re: cgi question
- From: "Tomi Crnicki" <tcrnicki@xxxxxxxxxxxx>
- Date: Mon Jul 3 10:00:15 2000
- Organization: Abacus
> Message: 16
> Date: Sun, 02 Jul 2000 09:40:31 +0200
> From: "H.P. Stroebel" <hpstr@xxxxxxxxxxxxx>
> To: cobalt-users@xxxxxxxxxxxxxxx
> Subject: Re: [cobalt-users] cgi question
> Reply-To: cobalt-users@xxxxxxxxxxxxxxx
>
> Cobalt schrieb:
> >
> > Another newbie question.
> >
> > I am trying to get some scripts to work on my new RAQ3 server. I am trying
> > to get a formmail.pl script to work. The problem is that after I chmod 755
> > the file and then try to run the script from the html page it tries to
> > download the script instead of running it.
>
> cgi for this site enabled ?
>
>
> H. P. Str÷bel
>
> Message: 18
> From: cobalt@xxxxxxxxxxxx
> To: cobalt-users@xxxxxxxxxxxxxxx
> Reply-To: cobalt@xxxxxxxxxxxx
> Date: Sun, 02 Jul 2000 1:10:33 PST
> Subject: Re: [cobalt-users] cgi question
> Reply-To: cobalt-users@xxxxxxxxxxxxxxx
>
>
> Yes, CGI is checked and enabled. Any ideas?
>
Try renaming the script to formmail.cgi.
If I recall properly only .cgi is the seen as a script by default by the
Apache httpd.
You can as root check and modify /etc/httpd/conf/srm.conf file if
needed to work for you by adding in the appropitae place:
AddHandler cgi-script .pl
and restart the httpd:
/etc/rc.d/init.d/httpd restart
But as said before the easier way is to just stick to the .cgi
extension for scripts.
Regards,
Tomi Crnicki - Abacus, Croatia