Parsing URL

2009-06-18 Thread Hracek, Petr
Hello all, sorry for bother you with this question - but I would like to ask you if there is any possible way how to parse URL so that I will be able to check if the URL contains DirectoryIndex and Language. Let's say that I passed URL address: https://IP_Address/testApp/index.shtml Of course

Replacement of ap_spawn_child in Apache 2.2

2009-05-19 Thread Hracek, Petr
Hello *, in my module which is used in apache 1.3 is used procedure if (!ap_spawn_child(r-pool, unity_program_child, (void *) cld, kill_after_timeout, NULL, NULL, NULL)) { ap_log_error(APLOG_MARK, APLOG_ERR, r-server, could not spawn

VirtualHost rewrite and mod_negotiation

2009-04-28 Thread Hracek, Petr
Hello all, sorry for bother you with issue both I think that I misunderstand how the mod_negotiation and mod_rewrite work is working. In my apache I have enabled Virtual Host called: VirtualHost _default_:443 SSLEngine on DocumentRoot /opt/apache/htdocs/ssldocs AddType text/html .shtml

Mod_negotiation and own module

2009-04-22 Thread Hracek, Petr
Dear developers, during the developing of own module in C language and I have some problems with mod_negotiation module. In my apache2-2.2.3I have one VirtualHost _default:443 In the configuration file of this of this machine is mentioned: MultiviewsMatch All DocumentRoot

Cookie howto

2009-04-22 Thread Hracek, Petr
Hello all, I would like to ask you how I can work with cookie with my module. I have insert cookie to the r-err_headers_out with function apr_table_add(r-err_header_out,Set-Cookie, XXX); but after internal redirection in r-headers_in is not mention any Cookie only Set-Cookie. Is this behaviour

Sending data twice on the one request

2009-02-03 Thread Hracek, Petr
Hello *, I am trying to send data from server to the client side and all works fine. Wireshark with SSL shows me that data which I've sent has been really sent. But problem is that I used to following functions for sending data in my handler (in register hook function ap_hook_handler)

RE: Sending data to client

2009-02-02 Thread Hracek, Petr
* handler for working with filter data? regards / S pozdravem Petr Hráček -Original Message- From: Graham Leggett [mailto:minf...@sharp.fm] Sent: Friday, January 30, 2009 1:27 PM To: dev@httpd.apache.org Subject: Re: Sending data to client Hracek, Petr wrote: Because of I am a begginer

RE: Sending data to client

2009-01-30 Thread Hracek, Petr
:29 PM To: dev@httpd.apache.org Subject: Re: Sending data to client Hracek, Petr wrote: I am migrating apache module from version 1.3.41 to version 2.2.3 All seems to be OK but only one thing remains as not working and I have no idea how to solve it in Apache 2.2. In the version 1.3.41 I

RE: Sending data to client

2009-01-30 Thread Hracek, Petr
- From: Graham Leggett [mailto:minf...@sharp.fm] Sent: Friday, January 30, 2009 12:59 PM To: dev@httpd.apache.org Subject: Re: Sending data to client Hracek, Petr wrote: Thanks for the question about replacement of ap_*_timeout. When the ap_soft_timeout and ap_rwrite are called in Apache 1.3

Sending data to client

2009-01-29 Thread Hracek, Petr
Hello all, I am migrating apache module from version 1.3.41 to version 2.2.3 All seems to be OK but only one thing remains as not working and I have no idea how to solve it in Apache 2.2. In the version 1.3.41 I used to following code for sending data to client: ap_soft_timeout (TEXT

Sending data to client

2009-01-29 Thread Hracek, Petr
Hello all, I am migrating apache module from version 1.3.41 to version 2.2.3 All seems to be OK but only one thing remains as not working and I have no idea how to solve it in Apache 2.2. In the version 1.3.41 I used to following code for sending data to client: ap_soft_timeout (TEXT

Problem with my module in Apache2.2.3 (SLES10)

2008-11-05 Thread Hracek, Petr
Hello *, I have a question regarding mules for Apache2. In my module mod_unity.c is written: static const command_rec udsc_config_cmds[] = { /* * Global (main-server) context configuration directives */ AP_INIT_TAKE1(UNITYUsmwHost, udsc_cmd_UDSCUsmwHost,NULL,RSRC_CONF,UNITY

Equivalents from Apache-1.3 to Apache2.2

2008-10-09 Thread Hracek, Petr
Hello *, I'm trying to build my old module written under Apache-1.3.X under Apache-2.2.X. Problem is that during the build more errors occurs because of missing function ap_ctx_get and ap_global_ctx. 1) Do you know if the function are replaced somewho in Apache-2.2.X? 2) In the header file of

Building own module

2008-10-08 Thread Hracek, Petr
Hello *, sorry for this question but I could not find any solution for my problem on Internet (especially on google). On the our project we are using till now apache-1.3.X version. Unfortunatelly now we have to use the newest version of apache-2.2.X which is included in SLES10 distribution