PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Serveur - Sécurité et techniques > alt.apache.configuration > Auth_dbm
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
alt.apache.configuration Apache web server configuration issues.

Auth_dbm

Réponse
 
LinkBack Outils de la discussion
Vieux 13/10/2006, 11h10   #1
Lutz Richter
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Auth_dbm

Hello Folks,

I have a big problem, I tried to use auth_dbm. I had created a dbm database
(2 Files nutzerpw.dir / nutzerpw.pag) and I had write the the following
entry in the httpd.conf

<Directory "/opt/lampp/test">
AllowOverride AuthConfig Limit
Order allow,deny
Allow from all
AuthType basic
AuthName "Restricted Area"
AuthDBMUserFile /opt/lampp/etc/nutzerpw <-- the name of
the password database
Require valid-user
</Directory>

but all the time comes an Internal Server Error, I had dump the loaded
modules:

Loaded Modules:
core_module (static)
mpm_prefork_module (static)
http_module (static)
so_module (static)
authn_file_module (shared)
authn_dbm_module (shared)
authn_anon_module (shared)
authn_dbd_module (shared)
authn_default_module (shared)
authz_host_module (shared)
authz_groupfile_module (shared)
authz_user_module (shared)
authz_dbm_module (shared)
authz_owner_module (shared)
authnz_ldap_module (shared)
authz_default_module (shared)
auth_basic_module (shared)
auth_digest_module (shared)
file_cache_module (shared)
cache_module (shared)
disk_cache_module (shared)
mem_cache_module (shared)
bucketeer_module (shared)
dumpio_module (shared)
echo_module (shared)
case_filter_module (shared)
case_filter_in_module (shared)
ext_filter_module (shared)
include_module (shared)
filter_module (shared)
charset_lite_module (shared)
deflate_module (shared)
ldap_module (shared)
log_config_module (shared)
logio_module (shared)
env_module (shared)
mime_magic_module (shared)
cern_meta_module (shared)
expires_module (shared)
headers_module (shared)
ident_module (shared)
usertrack_module (shared)
unique_id_module (shared)
setenvif_module (shared)
proxy_module (shared)
proxy_connect_module (shared)
proxy_ftp_module (shared)
proxy_http_module (shared)
proxy_ajp_module (shared)
proxy_balancer_module (shared)
mime_module (shared)
dav_module (shared)
status_module (shared)
autoindex_module (shared)
asis_module (shared)
info_module (shared)
suexec_module (shared)
cgi_module (shared)
cgid_module (shared)
dav_fs_module (shared)
vhost_alias_module (shared)
negotiation_module (shared)
dir_module (shared)
imagemap_module (shared)
actions_module (shared)
speling_module (shared)
userdir_module (shared)
alias_module (shared)
rewrite_module (shared)
apreq_module (shared)
ssl_module (shared)
perl_module (shared)

Have anyone an Idea?

Thaks a lot!

Lutze



  Réponse avec citation
Vieux 13/10/2006, 11h25   #2
Lutz Richter
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Auth_dbm


----- Original Message -----
From: "Davide Bianchi" <davideyeahsure@onlyforfun.net>
Newsgroups: alt.apache.configuration
Sent: Friday, October 13, 2006 2:14 PM
Subject: Re: Auth_dbm


> On 2006-10-13, Lutz Richter <lutz.richter@snafu.de> wrote:
> > but all the time comes an Internal Server Error, I had dump the loaded
> > modules:

>
> Internal server error could be anything, the details of the error are
> usually reported in the error_log file, what does it says?
>
> Davide
>
> --
> I try to explain, but he goes into the back room and gets this wizened old
> guy with a pocket protector and a nametag that read "Senior Engineer."
> -- Jack Twilley



[Fri Oct 13 12:22:05 2006] [error] Internal error: pcfg_openfile() called
with NULL filename
[Fri Oct 13 12:22:05 2006] [error] [client 87.123.40.16] (9)Bad file
descriptor: Could not open password file: (null)

is in the error_log, the passwortfile is definitiv in the given directory
....

Lutze


  Réponse avec citation
Vieux 13/10/2006, 13h14   #3
Davide Bianchi
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Auth_dbm

On 2006-10-13, Lutz Richter <lutz.richter@snafu.de> wrote:
> but all the time comes an Internal Server Error, I had dump the loaded
> modules:


Internal server error could be anything, the details of the error are
usually reported in the error_log file, what does it says?

Davide

--
I try to explain, but he goes into the back room and gets this wizened old
guy with a pocket protector and a nametag that read "Senior Engineer."
-- Jack Twilley
  Réponse avec citation
Vieux 13/10/2006, 13h22   #4
Lutz Richter
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Auth_dbm


"Davide Bianchi" <davideyeahsure@onlyforfun.net> schrieb im Newsbeitrag
news:slrneiuqvq.361.davideyeahsure@fogg.onlyforfun .net...
> On 2006-10-13, Lutz Richter <lutz.richter@snafu.de> wrote:
> > [Fri Oct 13 12:22:05 2006] [error] Internal error: pcfg_openfile()

called
> > with NULL filename
> > [Fri Oct 13 12:22:05 2006] [error] [client 87.123.40.16] (9)Bad file
> > descriptor: Could not open password file: (null)
> >
> > is in the error_log, the passwortfile is definitiv in the given

directory
>
> A quick search on Google with the error message returned this:
>
> <quote>
> In Apache 2.2, the mod_auth_basic module is now set to authoritative,
> and must be disabled. This is done in the authentication section of the
> configuration file by adding the line :
>
> AuthBasicAuthoritative Off
> </quote>
>
> see if doing so fix your problem.
>
> Davide
>
> --
> Windows 2000 is more secure than Linux...
> Since the machine is offline half of the time because of crashes, it
> cannot be accessed globally, therefore producing higher security.
> -- From a Slashdot.org post


Hello, I had found the problem, there was missing the line entry


AuthDBProvider dbm


- now it works fine,


thanks very for your !

Lutz


  Réponse avec citation
Vieux 13/10/2006, 13h35   #5
Davide Bianchi
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Auth_dbm

On 2006-10-13, Lutz Richter <lutz.richter@snafu.de> wrote:
> [Fri Oct 13 12:22:05 2006] [error] Internal error: pcfg_openfile() called
> with NULL filename
> [Fri Oct 13 12:22:05 2006] [error] [client 87.123.40.16] (9)Bad file
> descriptor: Could not open password file: (null)
>
> is in the error_log, the passwortfile is definitiv in the given directory


A quick search on Google with the error message returned this:

<quote>
In Apache 2.2, the mod_auth_basic module is now set to authoritative,
and must be disabled. This is done in the authentication section of the
configuration file by adding the line :

AuthBasicAuthoritative Off
</quote>

see if doing so fix your problem.

Davide

--
Windows 2000 is more secure than Linux...
Since the machine is offline half of the time because of crashes, it
cannot be accessed globally, therefore producing higher security.
-- From a Slashdot.org post
  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 20h23.


Édité par : vBulletin® version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,11486 seconds with 13 queries