I have changed the configuration between 2.2 and 2.4, but the following
definition with require valid-user should work.


  
        AuthType Basic
        AuthName "Icinga Access3"
        AuthBasicProvider file
        AuthUserFile /etc/icinga/htpasswd.users
         Require user kornexl ......
#Require valid-user

If i uncomment the valid-user and comment the above "require user" line
the error occours

Both require directives come from authz_core.  All users in
htpasswd.users get authorized if listed in the "require user" line, but
noone is authorized with only "require valid-user" active. The
htpasswd.users can't be invalid

Compiled in modules:
  core.c
  mod_so.c
  mod_watchdog.c
  http_core.c
  mod_log_config.c
  mod_logio.c
  mod_version.c
  mod_unixd.c

The following modules (from Ubuntu 14.04 LTS) are loaded
Loaded Modules:
 core_module (static)
 so_module (static)
 watchdog_module (static)
 http_module (static)
 log_config_module (static)
 logio_module (static)
 version_module (static)
 unixd_module (static)
 alias_module (shared)
 auth_basic_module (shared)
 authn_core_module (shared)
 authn_file_module (shared)
 authz_core_module (shared)
 authz_groupfile_module (shared)
 authz_host_module (shared)
 authz_user_module (shared)
 autoindex_module (shared)
 cgi_module (shared)
 deflate_module (shared)
 dir_module (shared)
 env_module (shared)
 filter_module (shared)
 mime_module (shared)
 mpm_prefork_module (shared)
 negotiation_module (shared)
 php5_module (shared)
 proxy_module (shared)
 proxy_ajp_module (shared)
 reqtimeout_module (shared)
 rewrite_module (shared)
 setenvif_module (shared)
 mod_shib (shared)
 socache_shmcb_module (shared)
 ssl_module (shared)
 status_module (shared)

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to apache2 in Ubuntu.
https://bugs.launchpad.net/bugs/1358284

Title:
  apache 2.4.7 does not respect valid-user

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apache2/+bug/1358284/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to