Re: [ILUG] apache documentroot ?

From: Scott Wunsch (scott at domain wunsch.org)
Date: Tue 11 Jul 2000 - 15:08:01 IST


On Tue, 11-Jul-2000 at 11:15:39 +0100, SP K wrote:

> httpd.conf file my documentroot says: DocumentRoot
> "/home/httpd/html/" , but when i got to acess it on
> web it says: do not have permission to access '/' ..so
> where is the root comming from ? is there another
> directive that overides the document root in
> httpd.conf ?? , also i have checked the permission on

It probably is using /home/httpd/html as your documentroot. *However*,
that doesn't mean that the client has access to view it. Somewhere in your
Apache configuration, you need something like this:

<Directory /home/httpd/html>
order allow,deny
allow from all
</Directory>

Otherwise, it maps / to /home/httpd/html, but decides that the client
doesn't have access to view files there, and pukes.

-- 
Take care,
Scott \\'unsch
... Step 1: Open mouth.  2: Insert shoe store.


This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:06:50 GMT