Inquiry on Apache CGI

Derek Carter goozbach at friocorte.com
Thu May 1 21:30:16 MDT 2008


b p wrote:
> Hello All,
> I'm trying to run apache virtual hosts on my box at home for myself and a
> few friends. The issue that I'm having is that when I browse to my cgi-bin
> with: http://www.<myDomain>.com/cgi-bin/index.cgi it says I have no
> permission to run the file, or in some cases it actually tries to download
> the file.
> 
> I've checked permissions on all the directories, and the files to make sure
> they are executable by  my apache server. I'm kind of stuck, and looking for
> some advice.
> 

Have you looked at SELinux being the culprit?

try this:

setenforce 0

then access the file

then this:

setenforce 1

and access it again.

if it works after the first setenforce, SELinux is your problem.

just a thought.

--
goozbach



More information about the PLUG mailing list