From owner-freebsd-questions@FreeBSD.ORG Sun Aug 17 05:28:58 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0CE7637B401 for ; Sun, 17 Aug 2003 05:28:58 -0700 (PDT) Received: from out003.verizon.net (out003pub.verizon.net [206.46.170.103]) by mx1.FreeBSD.org (Postfix) with ESMTP id EB13E43F85 for ; Sun, 17 Aug 2003 05:28:56 -0700 (PDT) (envelope-from mike@pcmedx.com) Received: from duron.pcmedx.com ([4.46.1.67]) by out003.verizon.net (InterMail vM.5.01.05.33 201-253-122-126-133-20030313) with ESMTP id <20030817122856.EVLN29617.out003.verizon.net@duron.pcmedx.com>; Sun, 17 Aug 2003 07:28:56 -0500 Received: from localhost (localhost [127.0.0.1]) by duron.pcmedx.com (Postfix) with ESMTP id 7E2B9AA45; Sun, 17 Aug 2003 05:28:55 -0700 (PDT) Received: from mike (mike.pcmedx.com [192.168.240.244]) by duron.pcmedx.com (Postfix) with SMTP id D378EA97F; Sun, 17 Aug 2003 05:28:54 -0700 (PDT) Message-ID: <000401c364bb$29e596c0$f4f0a8c0@pcmedx.com> From: "Mike Maltese" To: References: <9C413C14-D0A4-11D7-976E-003065A51656@mac.com> Date: Sun, 17 Aug 2003 05:29:11 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Virus-Scanned: by amavisd (http://www.amavis.org) and f-prot (http://www.f-prot.com) at pcmedx.com X-Authentication-Info: Submitted using SMTP AUTH at out003.verizon.net from [4.46.1.67] at Sun, 17 Aug 2003 07:28:56 -0500 Subject: Re: permission in apache X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Aug 2003 12:28:58 -0000 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 basis. Example: #This can be a list of files DirectoryIndex index.html index.htm index.shtml index.php ServerName foo.bar.com DocumentRoot /usr/local/www/vhost # This is whatever your root directory is. AllowOverride None Options Indexes Order allow,deny Allow from all ----- Original Message ----- From: "GNorm" To: 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@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"