Inquiry on Apache CGI
trixtirslists at gmail.com
Sat May 3 12:05:30 MDT 2008
I figured it out. Apparently you have to tell the browser which kind of data
is coming before you send it: html/text
Thanks for your help.
On Thu, May 1, 2008 at 9:30 PM, Derek Carter <goozbach at friocorte.com> wrote:
> 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.
> PLUG: http://plug.org, #utah on irc.freenode.net
> Unsubscribe: http://plug.org/mailman/options/plug
> Don't fear the penguin.
More information about the PLUG