I have just finished what i wanted to do:
The quick handler is controlling if the user is already authenticated (cookie based or session table)
if not, the quick handler setup an output filter which will send the authentication form to the client.
if the user is authenticated, then i return declined and all is working normally.
I did exactly like mod_cache is working.
Cliff Woolley wrote:
On Tue, 21 Oct 2003, Matthieu Estrade wrote:
I have to look what this quick handler do exactly, but i work well and
seems to be able to act as normal handler.
ap_hook_quick_handler(cache_url_handler, NULL, NULL, APR_HOOK_FIRST);
Be careful there... the quick handler bypasses a whole lot of stuff. I don't remember details, but be absolutely sure it's doing exactly what you want if you're going to use it.
I don't understand why you're not writing a filter?
--Cliff
