Re: Requests on a custom module (LocationMatch)??

2008-06-04 Thread karim Bendadda
/joe/login.htm* isn't checked by the module Have any Idea?? On Wed, Jun 4, 2008 at 2:35 AM, Eric Covener [EMAIL PROTECTED] wrote: On Mon, Jun 2, 2008 at 1:13 PM, karim Bendadda [EMAIL PROTECTED] wrote: Hi all, I need some help on an httpd configuration: I'm trying to develop

Requests on a custom module (LocationMatch)??

2008-06-02 Thread karim Bendadda
Hi all, I need some help on an httpd configuration: I'm trying to develop a custom cookie based module (*mod_loginCookie*). The module will check an encrypted cookie using Apache as a *reverse proxy*(using openssl decrypting libraries...); then I'm trying to make all requests to an external

Re: [Module Dev] Sending http request

2008-01-22 Thread karim Bendadda
:25 PM, Joe Lewis [EMAIL PROTECTED] wrote: karim Bendadda wrote: First I'd like to thank you very much Joe for help... I have a begineer question: *3) allow apache to handle the rest of the request*. Is that mean return 1 because when I tried this I had an error...and when I tried

Re: [Module Dev] Sending http request

2008-01-17 Thread karim Bendadda
AP_MODULE_DECLARE_DATA **my_module**_module = { STANDARD20_MODULE_STUFF, NULL, NULL, auth_chorus_config, NULL, **my_module**_cmds, **my_module**_hooks };* Thanks On Jan 17, 2008 4:01 PM, Joe Lewis [EMAIL PROTECTED] wrote: karim Bendadda wrote: Hi All; I tried

Re: [Module Dev] Sending http request

2008-01-17 Thread karim Bendadda
On Jan 17, 2008 7:30 PM, karim Bendadda [EMAIL PROTECTED] wrote: First I'd like to thank you very much Joe for help... I have a begineer question: *3) allow apache to handle the rest of the request*. Is that mean return 1 because when I tried this I had an error...and when I tried

Re: [Module Dev] Sending http request

2008-01-16 Thread karim Bendadda
Thank you for replying. I will see your link and reply to the mailing list..perhaps this will help . On Jan 16, 2008 3:42 PM, Eric Covener [EMAIL PROTECTED] wrote: On Jan 16, 2008 9:36 AM, karim Bendadda [EMAIL PROTECTED] wrote: Hi Everybody, Have you any idea of an apr function wish

[Module Dev] Sending http request

2008-01-16 Thread karim Bendadda
Hi Everybody, Have you any idea of an apr function wish *sends an HTTP request to an url*? I have a request request_rec and I need to send it to an http url : http:\\url.com. I'd like something like : *send_request(request_rec,url); * P.S: On my last mail (Request External Redirection) I

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
] wrote: karim Bendadda wrote: I did that , I have a redirection to the new url but it seems that it's just a redirection , the HTTP request doesn't get in the new URl: there is my code: The only two options again are to proxy to the external server, or redirect the client to the external

Re: [Apache Module] Request External Redirection

2008-01-15 Thread karim Bendadda
?? Thks. On Jan 15, 2008 2:02 PM, Eric Covener [EMAIL PROTECTED] wrote: 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

Re: [Apache Module] Request External Redirection

2008-01-14 Thread karim Bendadda
) Redirect my_request new_Url else Do_nothing On 1/14/08, Dr. Peter Poeml [EMAIL PROTECTED] wrote: On Mon, Jan 14, 2008 at 03:50:25PM +0100, karim Bendadda wrote: Thanks for your answer! But I don't understand the second way to implement it?? it can respond with a Location: header and a status

Re: [Apache Module] Request External Redirection

2008-01-14 Thread karim Bendadda
How can I see if my module really redirect the request?? (by the ap_log_error for example) Thank you very much for your precisous help! On 1/14/08, Joe Lewis [EMAIL PROTECTED] wrote: karim Bendadda wrote: I did that , I have a redirection to the new url but it seems that it's just

Re: [Apache Module] Request External Redirection

2008-01-14 Thread karim Bendadda
?? Is that means my request is redirected to http://10.112.3.20/test?? On 1/14/08, Joe Lewis [EMAIL PROTECTED] wrote: karim Bendadda wrote: Thank you for your help! How can I call the Redirect directive into the module??, In fact in the module I have a function that make an LDAP connection I

[Resolved]Re: Problem with directives

2008-01-11 Thread karim Bendadda
/apache2_modules/tut2/tutorial2.html Thak you for your help!! On Jan 10, 2008 10:02 PM, Joe Lewis [EMAIL PROTECTED] wrote: karim Bendadda wrote: *Location /name_module url http:\\10.114.20.8\myopenldap port 389 baseDn someone /Location* I'm not sure port is the best one to use

Problem with directives

2008-01-10 Thread karim Bendadda
Hi All, I'm creating a custom module wish connects to an Ldap directory (openldap) and other operations... 1- I tried to add directives to the module on the httpd.conf file : *Location /name_module url http:\\10.114.20.8\myopenldap port 389 baseDn someone /Location* 2- in my module I have

How to create Log files for a module

2007-12-18 Thread karim Bendadda
Hi Team, I'm coding a module (on Apache 2.2.6) which, among other things, makes connections to servers. I want to log all the inputs and the outputs of the module on a file (LOG_MODULE). Have you any of how doing this?? Thanks -- Karim Bendadda

Re: compiling using gcc directly rather than using apxs

2007-11-28 Thread karim Bendadda
initfirst ./mod_my.o -o ./mod_my.so * I know for sure that the problem is with the way I am compiling the module. Can anyone tell me what am I missing here? I am also attaching my module file for your reference. Thanks, Subra -- Karim Bendadda

Calling a module befor the mod_proxy module

2007-10-29 Thread karim Bendadda
the mod_proxy module?? Any suggestions?? Thanks. -- Karim Bendadda

Re: modules redirection

2007-10-26 Thread karim Bendadda
It seems to be that I was searching for...I'll try it and tell you if it works... thank you and have a good weekend! 2007/10/26, ed [EMAIL PROTECTED]: On Fri, 26 Oct 2007 19:53:39 +0100 ed [EMAIL PROTECTED] wrote: On Fri, 26 Oct 2007 16:21:47 +0200 karim Bendadda [EMAIL PROTECTED] wrote

Re: Have you tried to compile mod_auth_ldap??

2007-10-23 Thread karim Bendadda
that claimed compatibility with 2.2.x - did you try that one? Joe karim Bendadda wrote: Yes I m using apache 2.2.6. I'm trying to use the mod_authnz_ldap module but I have already installed the apache and I want to compile manually the mod_authnz_ldap (or the mod_auth_ldap_apache2) without

Re: Have you tried to compile mod_auth_ldap??

2007-10-23 Thread karim Bendadda
it as a dynamic module. My problème is I don't now how to compile it manually . 2007/10/23, Joe Lewis [EMAIL PROTECTED]: Are you using apache 2.2? karim Bendadda wrote: I m sorry I have made a mistake It's the Apache 2.0.x module that I have tried to compile not the one I have refered in my

an httpd problem with a module

2007-10-05 Thread karim Bendadda
Hi everbody, I'm trying to develop a module for apache whith the csoap library. the compilation is ok, the mod_soap.so was created. I updated the httpd.conffile but when I'm trying to lunch the httpd (or the apachectl) I have this message: httpd: Syntax error on line 71 of

Re: an httpd problem with a module

2007-10-05 Thread karim Bendadda
Yes that was the problem! thank you very much Nick Takashi Karim 2007/10/5, Nick Kew [EMAIL PROTECTED]: On Fri, 5 Oct 2007 11:46:22 +0200 karim Bendadda [EMAIL PROTECTED] wrote: httpd: Syntax error on line 71 of /usr/local/apache2/conf/httpd.conf: Cannot load /usr/local/apache2