RE: [SLUG] Apache and CGI

From: Douglas Alan Hartman (dabigguy@tampabay.rr.com)
Date: Tue May 15 2001 - 01:12:51 EDT


Got em in there. Put All in there myself to make sure but ExecCGI is def. I
am starting to think it may be my lack of knowledgs of CGI. I have "put in &
run" script that uses perl and works. Diff extension though. .rwc for Roger
Wilco. If you click on my RogerWilco links on my site they would take you to
the cg-bin, then it would start a program on your computer called
RogerWilco. I also have perl scripts in other directorys that parse internal
logs all configured and running perfectly. So cgi is on i think. Anyway.
Does anyone have a small freeware cgi counter that you know works in RED HAT
7.0s default web server? Something that mabey I can put there without
touching the insides to configure. I don't have a problem with it, I think
it's just if I had a running cgi in there I could tell if it's me or
something i've missed.

I sure appreciate all the responses thank you.

Alan Hartman

Directives-set, Permissions-set,

-----Original Message-----
From: slug@nks.net [mailto:slug@nks.net]On Behalf Of Robert Haeckl
Sent: Saturday, May 12, 2001 11:29 PM
To: slug@nks.net
Subject: Re: [SLUG] Apache and CGI

You might want to try adding AddHandler directive in the pertinent
container directive in one of your .conf files (I think Red Hat just
uses httpd.conf. Something like this:

<Directory DIRECTORYNAME>
   Options +ExecCGI SymLinksIfOwnerMatch
   AddHandler cgi-bin .cgi .pl .py
   AllowOverride None
</Directory>

I presume that your scripts are not in a ScriptAliased directory because
all your scripts should be working unless the script itself is broken.

Also, any directory with an AddHandler directive needs to have the
ExecCGI option.

-Robert

Douglas Alan Hartman wrote:
>
> I run a Linux Web server (Red Hat Server install) and I am having a
problem
> with CGI. I know it's somewhat on and running because I have some scripts
in
> there with non-CGI extensions that work. But everything I try with the
> extension .cgi nothing works. I have chacked and double chacked
permissions
> and there all set correctly I know. Even the simplest text counter doesn't
> work. It seems to me that mabey there needs to be something turned on or
> something. I am still looking and reading but if someone knows please give
> me a shout.
>
> Thanks
>
> Alan Hartman



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 20:08:51 EDT