Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 123746 - Apache HTTP Server 2.2: ebuild mod_auth* problems
Summary: Apache HTTP Server 2.2: ebuild mod_auth* problems
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Apache Team - Bugzilla Reports
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 114232
  Show dependency tree
 
Reported: 2006-02-22 13:31 UTC by Nathan Logus
Modified: 2006-06-04 21:13 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nathan Logus 2006-02-22 13:31:08 UTC
in unstable ebuild of apache-2.2.0, simple file-based authentication is not working:

<Directory "/var/www/www/htdocs/authfile">
  Options Indexes FollowSymLinks
  AllowOverride None
  AuthType Basic
  AuthName "Restricted Access"
  AuthUserFile "/var/www/users"
  AuthGroupFile "/var/www/groups"
  Order Deny,Allow
  Deny from all
  Require valid-user
  Satisfy any
</Directory>

[Wed Feb 22 16:05:58 2006] [error] [client 127.0.0.1] access to /authfile/ failed, reason: require directives present and no Authoritative handler.

This simple configuration example works in apache from built from source using default configuration (./configure && make && make install).
Comment 1 Carsten Lohrke (RETIRED) gentoo-dev 2006-02-22 14:19:45 UTC
Please don't unnecessarily restrict bugs.
Comment 2 Michael Stewart (vericgar) (RETIRED) gentoo-dev 2006-04-16 16:19:31 UTC
I am unable to reproduce this.

Go to the page http://localhost/server-info on your server and paste the output from the Loaded Modules section at the top. It should look similar to this:

Loaded Modules:
sapi_apache2.c, mod_macro.c, mod_auth_sys_group.c, mod_auth_pam.c, mod_suexec.c, mod_ssl.c, mod_vhost_alias.c, mod_usertrack.c, mod_userdir.c, mod_unique_id.c, mod_status.c, mod_speling.c, mod_setenvif.c, mod_rewrite.c, mod_negotiation.c, mod_mime_magic.c, mod_mime.c, mod_mem_cache.c, mod_logio.c, mod_log_config.c, mod_info.c, mod_include.c, mod_imagemap.c, mod_ident.c, mod_headers.c, mod_filter.c, mod_file_cache.c, mod_ext_filter.c, mod_expires.c, mod_env.c, mod_disk_cache.c, mod_dir.c, mod_deflate.c, mod_dbd.c, mod_dav_lock.c, mod_dav_fs.c, mod_dav.c, mod_cgid.c, mod_cgi.c, mod_cache.c, mod_autoindex.c, mod_authz_user.c, mod_authz_owner.c, mod_authz_host.c, mod_authz_groupfile.c, mod_authz_default.c, mod_authz_dbm.c, mod_authn_file.c, mod_authn_default.c, mod_authn_dbm.c, mod_authn_dbd.c, mod_authn_anon.c, mod_auth_digest.c, mod_auth_basic.c, mod_alias.c, mod_actions.c, mod_so.c, http_core.c, prefork.c, core.c
Comment 3 Michael Stewart (vericgar) (RETIRED) gentoo-dev 2006-06-04 21:13:30 UTC
unable to reproduce.