This post originated from an RSS feed registered with Python Buzz
by Ian Bicking.
Original Post: mod_auth_remote
Feed Title: Ian Bicking
Feed URL: http://www.ianbicking.org/feeds/atom.xml
Feed Description: Thoughts on Python and Programming.
Then you won't be able to access /stats except with a valid login for /admin/auth (which you'd set up as a trivial resource that had the permissions you'd want to apply to /stats). Underneath mod_auth_remote does a second HTTP request using the authentication information you give. The code is very simple.
Unfortunately it's only written for Apache 2 right now, and I'm mostly using Apache 1.3. It should be easy to port -- it's only around 200 lines long -- but I'm not very experienced in that sort of thing.