This is a discussion on Auth_dbm within the Apache Web Server forums, part of the Web Server and Related Forums category; Hello Folks, I have a big problem, I tried to use auth_dbm. I had created a dbm database (2 Files ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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 |
|
|||
|
----- 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 |
|
|||
|
"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 help! Lutz |