Project

General

Profile

Actions

Bug #1991

closed

mod_auth problems with mod_proxy

Added by rolando almost 15 years ago. Updated almost 15 years ago.

Status:
Fixed
Priority:
Normal
Category:
-
Target version:
-
ASK QUESTIONS IN Forums:

Description

mod_auth is not closing the connection when using mod_proxy, thus, not allowing the client to request for credentials:

$HTTP["host"] == "secure.domain.com" {
  auth.backend = "htpasswd" 
  auth.backend.htpasswd.userfile = "/etc/lighttpd/lighttpd.user" 
  auth.require = ( "/" =>
    ( "method"  => "basic",
      "realm"   => "Protected Area",
      "require" => "valid-user" 
    )
  )
  proxy.server = ( "" => ( ( "host" => "127.0.0.1", "port" => 3001 ) ) )
}

Using the same configuration, but removing the proxy.server line, everything works as expected. And removing the auth configuration, but leaving the proxy also works. The problem is when combining both.
Using Lighttpd Version: 1.4.19-5ubuntu7 (Ubuntu 9.04)
Will try to test it in a newer version.

Actions #1

Updated by rolando almost 15 years ago

it works just fine with 1.4.22 :-)

Actions #2

Updated by icy almost 15 years ago

  • Status changed from New to Fixed

Closing ticket because bug has been obviously already fixed.

Actions

Also available in: Atom