Satya's blog - mod_auth_any does apache 2

Aug 03 2004 17:38 mod_auth_any does apache 2
Someone sent in a new copy of mod_auth_any.c which worked with apache 2. So I ran diff against the one I had, and then applied #ifdefs so that it would work with both apache 1 and 2.

Then I tested with authClient and nothing would work. authClient worked from command line but not from the browser, so after much debugging I found... what did I find? Oh yeah, for one thing authClient needs to return "Success\n" right before the user's name, because mod_auth_any expects it.

Still no worky. So about 30 minutes later I found that when I overwrote the authClient, I screwed up its notion of where its config file was.

It's all good now.

Tag: tech work