In your apache config file (probably in '/etc/httpd/conf/' and named either
just 'http.conf' or '*.conf') you have to associate the extension .cgi with
... I cannot recall what the line looks like.  But grep for "\.cgi" in your
conf files and see if the line is commented out.  If so, you need to become
root, edit the file, remove the leading pound, (save the file) and reload
apache with '/etc/rc.d/init.d/httpd reload'

I'm trying to think how the stock install looks... and I think you should be
able to execute cgi in /cgi-bin/.  What is the error message in the logs?
One thing the RPM-ified Apache will do is move all your config files.  So in
that conf directory, you'll see a bunch of .rpmsave files.  It's up to you
to migrate the changes from the old version to the new.  I'd guess there is
an error in there.

-Alan

----- Original Message -----
From: Adam Sleight <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, June 26, 2000 5:01 PM
Subject: cgi applications


: In a reply to a tech support question I got back this:
:
: Also you should have .cgi extension to be mapped to perl.
:
: What the heck does that mean? I know about allow cgi scripts to be
executed
: within config files for apache.  Is this symlink'ing it or something?
: I'm trying to execute a perl cgi script from a directory /cgi-bin and have
chmod
: 755 on the directory and the xxxx.cgi .  This is a spelling app for web
email.
: It used to work fine in Mandrake 6.1 but since replacing it with Red Hat
6.2 I
: have never been able to get it to work.  Any ideas?
: __________________________
: adam http://www.kaikun.com
:
:
: --
: To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
: as the Subject.
:


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.

Reply via email to