HttpAuth is a daemon and framework for authenticating HTTP requests. It has a module which allows Apache 1.3.x to authenticate against it. Here's how to install and configure that module.
# tar -zxvf httpauth-0.x.tar.gz # cd httpauth-0.x # ./configure
# cd apache1x # make install
Use something like this in your config file:
<Location "/auth/"> AuthType HttpAuth HttpAuthSocket /var/run/httpauth.sock HttpAuthHandler Handler require valid-user </Location>
HttpAuthSocket: (required) Either a unix socket path or IP address and port where the httpauthd daemon is listening.
HttpAuthHandler: (required) The HttpAuth handler to authenticate against. Handlers are specified in your httpauthd.conf file.
HttpAuthTypes: (default: all) The types of authentication to allow. List one or more of the following separated by spaces:
Basic Digest NTLM
HttpAuthDigestDomain: (optional) A space separated list of uris which fall under the same Digest authentication domain.
BSD license. Contact me when bugs are found.