Redirect HTTP request on a module by mod_proxy??

2008-01-15 Thread karim Bendadda
Hi everybody, I'm coding an Apache 2.2 module wich has an HTTP request as input. In the code I'll need to redirect request (The same HTTP request). I tried the *apr_table_setn(r-headers_out, (const char*)Location,loc); *but it doesn't redirect the input request.. I want to try to

Re: [Apache Module] Request External Redirection

2008-01-15 Thread karim Bendadda
I'm sorry but the redirection doesn't work (I'm so sad...).. It redirects just a new http request but the Informations that I need on the incoming request is not beeing requested... I think I need a mod_proxy_hook... Thank you for your help On Jan 14, 2008 7:40 PM, Joe Lewis [EMAIL PROTECTED]

Re: [Apache Module] Request External Redirection

2008-01-15 Thread karim Bendadda
It's the request header, In fact I receive an http request with a certificate whish I can read by: * certificate *= *apr_table_get(r-headers_in, sslClientCertificat); *Now I want to redirect the SAME request to another server by preserving the request (and the certificate into it) when I tried

Re: [Apache Module] Request External Redirection

2008-01-15 Thread Eric Covener
On Jan 15, 2008 5:17 AM, karim Bendadda [EMAIL PROTECTED] wrote: I'm sorry but the redirection doesn't work (I'm so sad...).. It redirects just a new http request but the Informations that I need on the incoming request is not beeing requested... I think I need a mod_proxy_hook... What

More than one auth module

2008-01-15 Thread César Leonardo Blum Silveira
Hello all, I would like to know if there is a way to make requests pass more than one authentication phase. Basically, I need to authenticate users using mod_spnego for Kerberos SSO but still authenticate these users using my own module, which determines access levels for them in the system. What

Fixups running twice

2008-01-15 Thread César Leonardo Blum Silveira
Hello, I have written two test modules which only write messages to the error_log. I have the following fixups on them: mod_mod1.c: static int mod1_fixups(request_rec *r) { ap_log_rerror(APLOG_MARK, APLOG_ERR, 0, r, mod1_fixups); return OK; } mod_mod2.c: static int

Re: Fixups running twice

2008-01-15 Thread César Leonardo Blum Silveira
I figured it out already. A redirect was causing that behaviour. On Jan 15, 2008 10:43 PM, César Leonardo Blum Silveira [EMAIL PROTECTED] wrote: Hello, I have written two test modules which only write messages to the error_log. I have the following fixups on them: mod_mod1.c: static int