Hi,
I have asked similar question before and looking for solution sticked with
Apache 2.x codebase only. Some replied to take a look at mod_proxy_http and
mod_include module as they do the exact thing. However, it is complicated
and hard to understand up to my knowledge about Apache internal.
I am writing a module which implements a shared memory cache and read the
code of mod_auth_digest.c for reference. Take a code snippet of initializing
the shared memory.
sts = apr_shm_create(client_shm, shmem_size, tmpnam(NULL), ctx);
if (sts != APR_SUCCESS) {
Hi all,
I searched for quite some time but can't locate it. Is it not available
online and require to compile by ourself? I can only find the old 1.3
API in http://httpd.apache.org/dev/apidoc/ and the APR API in
http://apr.apache.org/docs/apr/.
Regards,
-Fai
, 2006 at 05:23:42PM +0200, Graham Leggett wrote:
On Mon, June 12, 2006 5:14 pm, Lai Yiu Fai wrote:
How can an external module make use of mod_proxy_http to request the
document?
You create a subrequest to fire off the document request. mod_include uses
this technique to include one URL
I would like to write a module which make https connection and read the
response. Are there any export functions in mod_ssl, mod_proxy ... etc that
do the jobs? I have searched all APR_DECLARE_OPTIONAL_FN() and seems
nothing related. So, should I go directly to OpenSSL calls or any APR SSL
Thanks but filter looks complicated to do a simple job. That module just
requires to request a XML document via https. What would be the simply way
to do that?
Regards,
-Fai
On Mon, Jun 12, 2006 at 02:29:26PM +0200, Graham Leggett wrote:
On Mon, June 12, 2006 2:24 pm, Lai Yiu Fai wrote
On Mon, Jun 12, 2006 at 04:43:36PM +0200, Graham Leggett wrote:
On Mon, June 12, 2006 4:31 pm, Lai Yiu Fai wrote:
Thanks but filter looks complicated to do a simple job.
It looks complicated, but it isn't when you get down to it.
That module just
requires to request a XML document
I would like to write a module which requires to make outgoing SSL connection
and read the response. Which set of function calls should I use to make it
with best portability in both prefork and thread MPM? Would it be a problem
if I use direct OpenSSL calls? Or mod_ssl provide these functions