Catching graceful restart in apache2 module

2009-07-30 Thread Petr Hracek
in advance best regards Petr Hracek

Re: Catching graceful restart in apache2 module

2009-07-31 Thread Petr Hracek
to detect that gracefull restart which has been occured than this function will not be called. Thank you in advance. Petr 2009/7/30 Nick Kew n...@webthing.com Petr Hracek wrote: Is there any way how to detect that gracefull restart has been started and where should I place the code

Re: Catching graceful restart in apache2 module

2009-08-01 Thread Petr Hracek
? Is it behaviour the same when the server is going down in shel with the gracefull command? Is there any example how to implement in the post_config handler? Best regards Petr 2009/7/31 Graham Leggett minf...@sharp.fm Petr Hracek wrote: Thank for the answer. Could you please explain

Re: Catching graceful restart in apache2 module

2009-08-04 Thread Petr Hracek
way how to detect if the restart of apache has been done as gracefull or as hard restart? best regards Petr Hracek 2009/8/1 Petr Hracek phrac...@gmail.com As you mentioned: The request pool is no good, because that's cleaned up at the end of the request. The connection pool is also no good

Re: Catching graceful restart in apache2 module

2009-08-04 Thread Petr Hracek
AM, Graham Dumpleton wrote: 2009/8/4 Petr Hracek phrac...@gmail.com: I have found in following link: ( http://wiki.apache.org/httpd/ModuleLife) Race conditions during graceful restart During a graceful restart, old children are still serving old requests while new children are serving

Data are send in reverse order

2009-09-15 Thread Petr Hracek
Hello *, in my apache module (written in C) are sended data to the client side over buckets and brigades. Function for send these date is: apr_status_t send_data_to_client(request_rec *r, char * data_to_send, int length_data) { apr_bucket_brigade * bb =

Re: Data are send in reverse order

2009-09-15 Thread Petr Hracek
be used, right? regards Petr 2009/9/15 Graham Leggett minf...@sharp.fm Petr Hracek wrote: in my apache module (written in C) are sended data to the client side over buckets and brigades. Function for send these date is: apr_status_t send_data_to_client(request_rec *r, char

Re: Data are send in reverse order

2009-09-15 Thread Petr Hracek
and buckets? regards Petr 2009/9/15 Graham Leggett minf...@sharp.fm Petr Hracek wrote: I do not understand of this thing. Could you please tell me if I have already connection between browser and apache server why I should use request_rec-output_filters instead of request_rec-connection

Re: Data are send in reverse order

2009-09-16 Thread Petr Hracek
Petr Nick Kew napsal(a): Petr Hracek wrote: I have found mod_nntp_like where is mention in ap_pass_brigade(c-output_filters,bb); and in smtp_core is usage the same. Those are protocol modules. So anything-HTTP is not relevant to them. Unfortunatelly when I am using ap_pass_brigade(r

Re: Data are send in reverse order

2009-09-16 Thread Petr Hracek
to track if that hasa been really send via ap_pass_brigade? 2009/9/16 Graham Leggett minf...@sharp.fm Petr Hracek wrote: In my module I do not modify any data sended from server to client. Unfortunatelly when I am using ap_r* then firstly are sended data and then HTTP relevant code. That's

Problem with compiling module

2010-04-07 Thread Petr Hracek
Hello all, I would like to compile my module under UnixWare 7.1.4 but it shows me following error: UX:cc: WARNING: -Kthread and -Kpthread both supplied; -Kpthread used Undefined symbol ap_get_server_version ap_log_error UX:ld: ERROR: Symbol referencing errors. Version of apache which is used is

Re: Problem with compiling module

2010-04-07 Thread Petr Hracek
Unfortunatelly I do not have apr on the system. Do you know where I can get them? Thank you in advance -- Petr Hracek 2010/4/7 Nick Kew n...@webthing.com On Wed, 7 Apr 2010 14:46:03 +0200 Petr Hracek phrac...@gmail.com wrote: Hello all, I would like to compile my module under UnixWare

Re: Problem with compiling module

2010-04-08 Thread Petr Hracek
Problem was within the makefile. All C files has been compiled alone and I wanted to run apxs -o my_module.la but it failed. Finally I have my_module.la. How can I convert my_module.la to my_module.so? best regards -- Petr Hracek 2010/4/7 Jeff Trawick traw...@gmail.com On Wed, Apr 7, 2010

Re: Problem with compiling module

2010-04-08 Thread Petr Hracek
Sorry for that mail. I have found that my_module.so is stored in directory .libs. -- Petr Hracek 2010/4/8 Petr Hracek phrac...@gmail.com Problem was within the makefile. All C files has been compiled alone and I wanted to run apxs -o my_module.la but it failed. Finally I have my_module.la

Re: Problem with compiling module

2010-04-08 Thread Petr Hracek
2010/4/8 Petr Hracek phrac...@gmail.com Sorry for that mail. I have found that my_module.so is stored in directory .libs. -- Petr Hracek 2010/4/8 Petr Hracek phrac...@gmail.com Problem was within the makefile. All C files has been compiled alone and I wanted to run apxs -o my_module.la

My own module and catching Proxy Request

2010-04-22 Thread Petr Hracek
URL contains /PAC/ (which means that this is proxy) than it tell to module that this request is not a bussiness for them. Is it possible to do that somehow? I have found that r-proxyreq contains if the Request is Proxy or not. Thank you in advance -- Best Regards / S pozdravem Petr Hracek

Re: My own module and catching Proxy Request

2010-04-23 Thread Petr Hracek
2010/4/22 Petr Hracek phrac...@gmail.com Hello *, I hope that I am sending those question to the correct discussion list. In my Apache2 (2.2.3) configuration file I have: VirtualHost _default_:443 SSLEngine on DocumentRoot /opt/apache/htdocs/ssldocs ProxyPass /PAC/ http

My own module and catching Proxy Request

2010-04-23 Thread Petr Hracek
http://en.wikipedia.org/wiki/X-Forwarded-For with mod_rewrite to determine if it came via a proxy or not. It may be of use to you. 2010/4/22 Petr Hracek phrac...@gmail.com Hello *, I hope that I am sending those question to the correct discussion

Authentication of proxy over own module

2010-06-10 Thread Petr Hracek
pozdravem Petr Hracek

type_checker

2010-06-10 Thread Petr Hracek
language. How I should implement type_checker in my module which will modify request so that in FIRST CASE will work correctly. Thank you in advance -- Best Regards / S pozdravem Petr Hracek

Re: type_checker

2010-06-10 Thread Petr Hracek
Could you please help me what spelling is wrong? I want to add type_checker to my module as last step of course if there will be no other option. 2010/6/10 Nick Kew n...@webthing.com On 10 Jun 2010, at 09:37, Petr Hracek wrote: Dear apache users, This is the developers list. Users

How to restore HTTP settings/sessions during GRACEFUL restart

2010-10-18 Thread Petr Hracek
will be still existing and working? Is there any simple module/ example where is this situation described? Thank you in advance -- Best Regards / S pozdravem Petr Hracek

graceful restart detection in prefork mode

2011-05-26 Thread Petr Hracek
SERVER_CONFIG_FILE=/etc/apache2/httpd.conf linux:~ # Thank you in advance. -- Best Regards / S pozdravem Petr Hracek

Re: graceful restart detection in prefork mode

2011-05-26 Thread Petr Hracek
It is not configured yet. I suggest that GracefulShutdownTimeout 0 as default is OK, right? 2011/5/26 MATSUMOTO Ryosuke matsu1...@gmail.com: Hi, How do you configure GracefulShutdownTimeout? 2011/5/26 Petr Hracek phrac...@gmail.com Dear developers, My situation is following: In my Apache2

Re: graceful restart detection in prefork mode

2011-05-26 Thread Petr Hracek
...@gmail.com GracefulShutdownTimeout valiue is zero as defualt. Setting this value to zero means that the server will wait indefinitely until all remaining requests have been fully served. 2011/5/26 Petr Hracek phrac...@gmail.com It is not configured yet. I suggest

SSLFIPS from which version

2011-05-27 Thread Petr Hracek
with FIPS 140-2? Best regards / S pozdravem Petr Hracek

Succeed compilation with FIPS

2011-06-03 Thread Petr Hracek
=path_to_openSSL_FIPS_libraries and it seems to be good but how can I call make? like: make CC=fipsld FIPSLD_CC=gcc ? thank you in advance -- Best Regards / S pozdravem Petr Hracek

Proxy authentication

2011-07-11 Thread Petr Hracek
group.file Require group usergroup /Location Than all works fine. -- Best Regards / S pozdravem Petr Hracek

Authentication and ReverseProxy to more servers

2011-07-26 Thread Petr Hracek
ProxyPassReverse /application1 http://192.168.0.20:8080/appl1 ProxyPass /application2 http://192.168.0.30:8080/appl1 ProxyPassReverse /application2 http://192.168.0.30:8080/appl2 /VirtualHost -- Best Regards / S pozdravem Petr Hracek

How to call one module from the another module

2011-07-27 Thread Petr Hracek
= SECURITY_AUTH_CHECK Is this behaviour possible? -- Best Regards / S pozdravem Petr Hracek

Re: How to call one module from the another module

2011-07-27 Thread Petr Hracek
you know where can be a problem? Can that be solved by ProxyHTMLURLMap? Thank you in advance Dne 27. Ĩervence 2011 15:46 Eric Covener cove...@gmail.com napsal(a): On Wed, Jul 27, 2011 at 9:35 AM, Stefan Fritsch s...@sfritsch.de wrote: On Wednesday 27 July 2011, Petr Hracek wrote: Dear users, I

Recognition of local / remote request

2011-08-01 Thread Petr Hracek
will be allowed. Otherwise URL will be permitted for user. Thank you in advance -- Best Regards / S pozdravem Petr Hracek