-----Original Message-----
From: Chris Fenton <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: vrijdag 3 april 1998 18:49
Subject: easy .cgi question


>        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.

There are some rescritions on executing cgi scripts:

They MUST be executable, and must indicate which program to run:

#/usr/bin/perl

>When I try to move the files into
>/cgi-bin/ I get a permission denied message.

You mean a permisson denied ehen doing a file copy ?? Check the permissions
on the cgi-bin directory, or do the copy as root.

> 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 :)


There are some very good doc's on Apache on www.apache.org

>Chris Fenton



            Igmar Palsenberg



-- 
  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.

Reply via email to