You have to make sure you're making a distinction
between actual websites you're serving (localhost)
and user accounts (e.g. localhost/~miark) because
they're configured differently.

The example you gave below controls localhost, but
not user accounts. And by the way, those are absolute
paths.

Look in commonhttpd.conf for "public_html", and see
if the directory setting in that neck of the woods look
in order.

Miark


----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, January 03, 2002 4:16 PM
Subject: Re: [newbie] Is CGI set up for user accounts from normal install?


>
> Yes but I'm not sure if I did it correctly. Another person here, Keith,
> instructed my how to do so, but I have a question about that. He said to
> type in the following in httpd.conf. I typed it there and also in
> commonhttpd.conf. My script still won't run, because of a "file not found"
> error.
>
> <Directory /www/cis/cgi-bin>
>    AddHandler cgi-script cgi
>    Options +ExecCGI
> </Directory>
>
> Question: is /www/cis/cgi-bin as absolute or relative path? Is it relative
> to documentroot?
>
> mitch
>
>
>
>
>
>
>                     "Miark"
>                     <[EMAIL PROTECTED]>            To:     <[EMAIL PROTECTED]>
>                     Sent by:                     cc:
>                     newbie-owner@linux-ma        Subject:     Re: [newbie] Is CGI 
>set up
for user accounts from normal
>                     ndrake.com                   install?
>

>
>                     01/03/02 03:50 PM
>                     Please respond to
>                     newbie
>
>
>
>
>
>
> Mitch,
>
> Did you tell Apache (i.e. in the configuration files)
> which directory would function as the cgi directory?
>
> Miark
>
>
> ----- Original Message -----
> From: <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, January 03, 2002 2:39 PM
> Subject: [newbie] Is CGI set up for user accounts from normal install?
>
>
> > I have a server on an intranet. Is CGI already set up? If so, where do I
> > put my CGIs for new users? I tried to add a cgi-bin to a user's home
> > directory, for myself, because I was worried about running CGIs as root,
> if
> > that would even happen. So, I made a cgi-bin and set the permissions, but
> I
> > get a "You don't have permission" error message. The permissions were set
> > to 755, so everyone could read and execute but only I could write. I
> > checked this over and over. Is there some reason that I can't *yet* run
> > CGIs other than file permissions? I tried FTPing the files as ascii and I
> > tried just writing them on the linux machine. I've also used stock, very
> > easy intro scripts that just return "Hello world" to the browser. And
> I've
> > successfully used CGI on my personal machine hosted by professionals. It
> > appears to me -- I installed Mandrake myself -- that CGI isn't set up
> > correctly for a user account. How do I do that?
> >
> > Could someone either explain or point me to some place where I can read
> how
> > to set up CGI for users on Mandrake Linux running Apache? Everthing I
> find
> > is either just reference material -- which doesn't help if you're a
> newbie
> > -- or how to write CGIs.
> >
> > mitch
> >
> >
> >
>
>
> --------------------------------------------------------------------------------
>
>
>
> > Want to buy your Pack or Services from MandrakeSoft?
> > Go to http://www.mandrakestore.com
> >
>
>
> Want to buy your Pack or Services from MandrakeSoft?
> Go to http://www.mandrakestore.com
>
>
>
>
>
>


--------------------------------------------------------------------------------


> Want to buy your Pack or Services from MandrakeSoft?
> Go to http://www.mandrakestore.com
>


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to