From owner-freebsd-questions Mon Jun 11 1:53:40 2001 Delivered-To: freebsd-questions@freebsd.org Received: from antares.gecadsoftware.com (antares.gecadsoftware.com [193.230.167.76]) by hub.freebsd.org (Postfix) with SMTP id 6E5F537B405 for ; Mon, 11 Jun 2001 01:53:16 -0700 (PDT) (envelope-from teo@gecadsoftware.com) Received: (qmail 29522 invoked from network); 11 Jun 2001 08:53:54 -0000 Received: from unknown (HELO taz.gecadsoftware.com) (193.230.245.17) by antares.gecadsoftware.com with SMTP; 11 Jun 2001 08:53:53 -0000 Received: from teo.gecadsoftware.com ([193.230.245.169]) by taz.gecadsoftware.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id M3427TFH; Mon, 11 Jun 2001 11:51:14 +0300 Received: (qmail 785 invoked by uid 500); 11 Jun 2001 08:51:10 -0000 Date: Mon, 11 Jun 2001 11:51:10 +0300 From: teo@gecadsoftware.com To: "FreeBSD Questions" Subject: Re: Apache problem Message-ID: <20010611115110.A744@gecadsoftware.com> Reply-To: teo@gecadsoftware.com Mail-Followup-To: teo@gecadsoftware.com, "FreeBSD Questions" References: <015201c0f23d$197ea170$0a00a8c0@midgar> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.15i In-Reply-To: <015201c0f23d$197ea170$0a00a8c0@midgar>; from madd@tecdigital.net on Mon, Jun 11, 2001 at 01:09:38AM -0500 Organization: GeCAD Software Comment: Worry less, RAV is watching! X-Operating-System: Linux 2.2.16 i686 up 8 min Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi Mario! On Mon, 11 Jun 2001, Mario Doria wrote: > Hi again, > > I don't think this list is the correct list to post this question, but I > have to cover all ends...also, I did not have the following problem in > linux; and I just migrated my server from linux to freebsd. > > My problem is with apache, I does not see my user/password file, even though > I can see/read it whenever I want. I've fiddled with permissions, trying > every combination but to no avail. The Apache server was installed from the > ports collection, it is Apache13-modssl, added was mod-php4. Here goes, a > part of my httpd.conf file: > > > Options All > AllowOverride None > AuthType Basic > AuthName "Autores" > AuthUserFile /usr/local/etc/apache/passwd/autores > AuthGroupFile /dev/null > Require valid-user > > > It all seems fine to me, I imported this from my old linux machine (running > apache 1.3.19) and it worked just fine. But now I cannot get Apache to work > again. Here's what appears on httpd-error.log: > > [Mon Jun 11 00:57:31 2001] [notice] Apache/1.3.20 (Unix) AuthMySQL/2.20 > PHP/4.0.5 mod_ssl/2.8.4 OpenSSL/0.9.6 configured -- resuming normal > operations > [Mon Jun 11 01:06:53 2001] [error] [client xx.xx.xx.xx] (13)Permission > denied: Could not open password file: /usr/local/etc/apache/passwd/autores hey, do a: grep 'User' /usr/local/etc/apache/conf/httpd.conf to see under which user your web server is running, and after than ensure that it can `execute' all directories down to /usr/local/etc/apache/passwd and has read rights on autores It might be that you gave proper rights on `autores' file, but it cannot reach it due to improper directory rights down to it. ciao -- teodor To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message