httpd-modules-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ed <ed-h...@s5h.net>
Subject Re: modules redirection
Date Fri, 26 Oct 2007 18:53:39 GMT
On Fri, 26 Oct 2007 16:21:47 +0200
"karim Bendadda" <kakibend@gmail.com> wrote:

>    I have created an Apache module (mod_authentification) which
> connects to an external server in order to validate the user of an
> application.Now I want to call the mod_proxy directly after calling
> the other module (the mod_authentification) the mod_proxy will allow
> me to redirect informations to a third server. I tried to make a Load
> mod_proxy after the Load mod_authentification with the directives on
> the httpd.conf file:

I'm not sure here. Someone on the list should correct me if this is
false, but I think you should set the values in the responses that you
want, and return DECLINED. I don't know how else you can can pass
execution to further modules without returning DECLINED.

This begs the question, how things like deflate can work as a module... 

The ISAPI interface works like a chain, which seems to be the major
difference between Apache modules and ISAPI that execution is passed
between all DLL entry points, and the DLL can return REQ_FINISHED to
indicate that no further execution should happen, otherwise things can
be changed and passed around. Exactly what the procedure is for the
same behaviour on this side of the fence is something that I'm still
trying to learn.

-- 
The Raid Array to www.humanclock.com is reporting 100% packet loss
because of a memory leak in the lyris server. The Empire is smoking a
big fatty. :: http://www.s5h.net/ :: http://www.s5h.net/gpg

Mime
View raw message