From owner-freebsd-questions Sun Jun 10 23:27:17 2001 Delivered-To: freebsd-questions@freebsd.org Received: from gekko.i-clue.de (server.ms-agentur.de [62.153.134.194]) by hub.freebsd.org (Postfix) with ESMTP id 0C68A37B403 for ; Sun, 10 Jun 2001 23:27:07 -0700 (PDT) (envelope-from so@server.i-clue.de) Received: from i-clue.de (automatix.i-clue.de [192.168.0.112]) by gekko.i-clue.de (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) with ESMTP id IAA20645; Mon, 11 Jun 2001 08:35:28 +0200 Message-ID: <3B246554.FAA67420@i-clue.de> Date: Mon, 11 Jun 2001 08:29:40 +0200 From: Christoph Sold Reply-To: so@server.i-clue.de X-Mailer: Mozilla 4.75 [de] (WinNT; U) X-Accept-Language: de MIME-Version: 1.0 To: Mario Doria Cc: FreeBSD Questions , Mario Doria Subject: Re: Apache problem References: <015201c0f23d$197ea170$0a00a8c0@midgar> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 Mario Doria schrieb: > > 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 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > [Mon Jun 11 01:06:53 2001] [error] [client xx.xx.xx.xx] user autor1 not > found: /autores > > Can anybody help me with this problem?? It seems that either the file in not in the expected place, or you got indeed file permission problems with it. Check both apaches' and the files owner and group match, as well as set the permissions to at least not world-writeable. HTH -Christoph Sold To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message