Re: [Nolug] php scripts virtual hosts

From: James Scott <jhs_technical_at_cox.net>
Date: Mon, 08 Mar 2004 18:59:02 -0600
Message-Id: <1078793941.3702.62.camel@example1.com>

On Mon, 2004-03-08 at 18:29, Joey Kelly wrote:
> <snip>
>
> >
> > Thanks Ray, Here are the relevant entries from the log.
> > I really do not understand the first one and it is probably the core
> > issue. I can see that index.php is defined in conf.d.
> > [Mon Mar 08 16:27:56 2004] [error] [client 68.11.44.133] Directory index
> > forbidden by rule: /var/www/html/
> > [Mon Mar 08 16:32:36 2004] [error] [client 68.11.44.133] File does not
> > exist: /var/www/html/admin
> > [Mon Mar 08 16:50:05 2004] [error] [client 68.11.44.133] Directory index
> > forbidden by rule: /var/www/html/
> > script not found or unable to stat
> > script not found or unable to stat
> > [Mon Mar 08 17:31:19 2004] [error] [client 68.11.44.133] File does not
> > exist: /var/www/html/new_downloads
> > [Mon Mar 08 17:31:57 2004] [error] [client 68.11.44.133] File does not
> > exist: /var/www/html/new_downloads
>
> At least part of that really looks like a permissions problem. What user is
> apache running under, and what user owns those files?
>
> I normally work out of my home directory, and tell apache to point any virtual
> hosts I have at some directory in /$user/public_html/
Maybe this is it. I assumed apache would be running as apache and chown
the files and directories apache. I just looked and one was root. I
changed it to apache still doesn't work. I can't think no more. What
should they be?
The home directory thing would be cool but I opted for the virtual
hosts. By the documentation it actually seemed just as easy. All you
do is add couple of lines to the hosts file and set virtual container at
the end of httpd.conf. Yeah sure.

___________________
Nolug mailing list
nolug@nolug.org
Received on 03/08/04

This archive was generated by hypermail 2.2.0 : 12/19/08 EST