Did you chmod +x <your script> ?
-Fred
On Fri, 3 Apr 1998, Chris Fenton wrote:
> I am new to the world of cgi. I have written some cgi scripts to
> retrieve files from a postgres database but instead of being executed only
> the code is displayed in the viewer. When I try to move the files into
> /cgi-bin/ I get a permission denied message. Running Apache as user "nobody"
> seems like a great idea. But perhaps I must run apache as a "real" user to
> get cgi to execute or am I missing something fundemental. Why is it always
> the easy questions that are never explained in the books :)
> Chris Fenton
>
> PhD student, Dept. Biotechnology
> University of Tromso.
> Institute of Medical Biology.
> MH building.
> 9037 Tromso, Norway.
> E-mail [EMAIL PROTECTED]
> phone 47 776 44655 (labratory)
> phone 47 776 44659 (office)
> fax 47 776 45350
>
>
> --
> PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
> http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
> To unsubscribe: mail [EMAIL PROTECTED] with
> "unsubscribe" as the Subject.
>
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject.