[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] Raq550: CGI programs do not seem to work
- Subject: Re: [cobalt-users] Raq550: CGI programs do not seem to work
- From: "alan@" <alan@xxxxxxxxx>
- Date: Fri Nov 15 09:33:01 2002
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
----- Original Message -----
From: "John D. Gorena"
> Brian,
>
> I know that that the Owner and files permissions are correct because I
> use tar to copy the cart for other sites on the Raq4 and it works
> great. Once I untar the file, I just change the ownership and it works
> great on the Raq4. For some reason, it is not working on the Raq550.
>
> What can I do to verify cgi and anything else is working correctly.
> Please be precise with ideas - I am a cobalt crash test dummy.
>
> John
>
>
>
>
> BSmith@xxxxxxxxxxx wrote:
> >
> > -----Original Message-----
> > From: John D. Gorena
> > Subject: [cobalt-users] Raq550: CGI programs do not seem to work
> >
> > I am trying to run a CGI cart program that works on the Raq4 but it is
> > not working on the Raq550.
> >
> > The message states, "The server encountered an internal error or
> > misconfiguration and was unable to complete your request. Your
> > administrator may not have enabled CGI access for this directory."
> >
> > The CGI option is enabled
> >
> > What can we do to fix this?
> >
> > John
> >
> > _____________________________________
> >
> > John,
> >
> > If you are using MySQL in your perl app, that is most likely causing the
> > problem. Of course, I assume that you have the file permissions of the
CGI
> > script setup properly?
> >
> > ls -l
> >
> > and the results come back like: rwx - r x - r x ??? It is owned by
your
> > site admin? and the group is whatever group it should be?
> >
> > Try running the app locally perl -w <filename>
> >
> > Is it a Perl Script? Or some other type of script? Can you actually
read
> > it? Or do u need to compile it? I found out if it is a compiled
program,
> > you need to setup a ScriptAlias directive in your srm.conf file. That
got
> > it working for me.
> >
> > Brian Smith
> > CCNA, NCSA
> > Network Support Engineer
> > SOLUSERVE
> > www.solunet.com
> > 1571 Robert J. Conlan Blvd., Suite 110
> > Palm Bay, FL 32905
> > (888)449-5766
> > fax: (321)-676-1287
Hi, while not on an RAQ550, I have just transfered a lot of scripts on to a
red hat white box using ensim.
Not one script would run, until I deleted the script and re-uploaded and
then set the permissions. Any script transferred while tarred, does not seem
to enter the systems dbase as there is generally a different user. I don't
know how to put it in the correct terms, but deleting the script and
re-uploading as that user then chmod seemed to work every time.
Remember the RAQ550 is a different animal.
I think ...
Alan