Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Jun 2001 08:29:40 +0200
From:      Christoph Sold <so@server.i-clue.de>
To:        Mario Doria <madd@tecdigital.net>
Cc:        FreeBSD Questions <freebsd-questions@FreeBSD.ORG>, Mario Doria <mariodoria@yahoo.com>
Subject:   Re: Apache problem
Message-ID:  <3B246554.FAA67420@i-clue.de>
References:  <015201c0f23d$197ea170$0a00a8c0@midgar>

next in thread | previous in thread | raw e-mail | index | archive | help


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:
> 
> <Directory /www/tdigital/autores>
>         Options All
>         AllowOverride None
>         AuthType Basic
>         AuthName "Autores"
>         AuthUserFile /usr/local/etc/apache/passwd/autores
>         AuthGroupFile /dev/null
>         Require valid-user
> </Directory>
> 
> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3B246554.FAA67420>