permission in apache

Mike Maltese mike at
Sun Aug 17 05:28:58 PDT 2003

This shouldn't have anything to do with UNIX permissions. You'll get this
error (403) if there is no document by the name specified in the
DirectoryIndex directive (defualt is index.html) and the directory does not
have the Indexes option (display directory contents). So either create
index.html in that directory, or add Indexes to the Options for that
directory to view the list of files. These options can be set on a per-vhost


#This can be a list of files
DirectoryIndex index.html index.htm index.shtml index.php


    DocumentRoot /usr/local/www/vhost

    # This is whatever your root directory is.
    <Directory /usr/local/www/vhost>
        AllowOverride None
        Options Indexes
        Order allow,deny
        Allow from all


----- Original Message ----- 
From: "GNorm" <gnorm at>
To: <freebsd-questions at>
Sent: Sunday, August 17, 2003 4:19 AM
Subject: permission in apache

> I have installed apache and got it to run, however when I tried to
> access a web address that I have set for virtual hosting I get the
> following message:
> Forbidden
> You don't have permission to access / on this server.
> I assume this error is the results of the permission on the directory
> containing web content. I have looked at the permissions for the default
> web directory and tried those settings, the default site works, the
> virtual sites do not.
> As always, any help will be appreciated.
> Thanks Lowell, for your help I was able to get the invalid error cleared
> up.
> Gregory Norman
> _______________________________________________
> freebsd-questions at mailing list
> To unsubscribe, send any mail to
"freebsd-questions-unsubscribe at"

More information about the freebsd-questions mailing list