Please ignore my previous mail. It seem to be that I had been compiling with
wrong version of apache header files.
From: George V Thomas
Sent: Thursday, January 22, 2015 4:02 PM
To: 'modules-dev@httpd.apache.org'
Subject: Issue with ap_get_module_config in Apache 2.4 module on 32 bit
Hi,
My
Hello All,
OS: RHEL 6 64 bit machine.
Getting segmentation fault with the wrong reference pointer from
ap_get_module_config.
here while creating the ga_vs_config for module config in the code
below(vs_config apr_palloc (p, s), it's returning the address 0x8477930,
but while getting
I use r-request_config to store module data as a substitute for global
vars. One type_checker_hook function uses ap_get_module_config at its
beginning. But what I got is NULL. Strangely, post_read_request_hook
function works fine, whose codes is basically the same.
Is there any caution in calling
On 29 Feb 2012, at 10:47, Rui Hu wrote:
I use r-request_config to store module data as a substitute for global
vars. One type_checker_hook function uses ap_get_module_config at its
beginning. But what I got is NULL. Strangely, post_read_request_hook
function works fine, whose codes
thanks!
Problem solved. It the problem with internal redirects.
2012/2/29 Nick Kew n...@apache.org
On 29 Feb 2012, at 10:47, Rui Hu wrote:
I use r-request_config to store module data as a substitute for global
vars. One type_checker_hook function uses ap_get_module_config at its
Mike wrote:
Hi,
The Subject here may be completely wrong, so I will describe what I am
doing. Some years ago I hacked together an authentication module
which uses the c-client imap lib. I decided to take a look at porting
it to 2.0 only to realize that the code is complete crap,thus I am
Joe Lewis wrote:
Mike wrote:
Hi,
The Subject here may be completely wrong, so I will describe what I
am doing. Some years ago I hacked together an authentication module
which uses the c-client imap lib. I decided to take a look at porting
it to 2.0 only to realize that the code is complete
Mike wrote:
Joe Lewis wrote:
Mike wrote:
Hi,
The Subject here may be completely wrong, so I will describe what I
am doing. Some years ago I hacked together an authentication module
which uses the c-client imap lib. I decided to take a look at
porting it to 2.0 only to realize that the
cation in Apache 2.0 is actually very nicely engineered. If you
want to store the username and the password, you can. However, you
don't have to.
Thanks for the reply.
The problem is that I need access to this info in the callback
function, and the callback does not have access to the
Mike wrote:
cation in Apache 2.0 is actually very nicely engineered. If you
want to store the username and the password, you can. However, you
don't have to.
Thanks for the reply.
The problem is that I need access to this info in the callback
function, and the callback does not have
Drew,
I can only respond to two of your questions (intelligently):
First, how do I return valuable information if there's a config error?
For example, if my config has the directive MyFile conf/foo.txt and
the file doesn't exist, how can I report this when I run httpd -t?
If the error can
Hi everyone,
I have a couple quick questions regarding ap_get_module_config().
First, how do I return valuable information if there's a config error?
For example, if my config has the directive MyFile conf/foo.txt and
the file doesn't exist, how can I report this when I run httpd -t
Hi all,
I have a question about ap_get_module_config.
My module has to connect to different url to get the content.
So I was thinking to initialize my struct (in which I have different
information for example an array with the addresses of the url to get
the contents) in the server config.
The I
On Friday 20 October 2006 17:30, [EMAIL PROTECTED] wrote:
Hi all,
I have a question about ap_get_module_config.
That serves two purposes, and I think you're confusing them.
For your server configuration, you'll use it with r-per_dir_config
or s-module_config. Those should generally be treated
*)ap_get_module_config(r-per_dir_config,
ep_auth_module);
This line always gives me a NULL-pointer, but it did not in the 1.3 version.
I investigated a bit and found, that the function
ap_get_module_config just does a vector lookup:
r-per_dir_config[ep_auth_module.module_index]
I echoed the array r
a Directory
per Webbrowser that is auth_ldap-protected, I get a segfault in the
authenticate user function because this line returns NULL :
auth_ldap_config_rec *sec =
(auth_ldap_config_rec *)ap_get_module_config(r-per_dir_config,
ep_auth_module);
The per-dir config is whatever you set
Does the Apache 1.x method ap_get_module_config exist for Apache 2 also. If no what
is the counterpart for this on Apache 2.x
Where can I find the info. on various Apache 1.x routines counterpart for Apache 2.x.
Thanks,
Rahul Kohli
Rahul Kohli wrote:
Does the Apache 1.x method ap_get_module_config exist for Apache 2 also.
grep for it in Apache's include directory... (you'll find it)
Where can I find the info. on various Apache 1.x routines counterpart for Apache 2.x.
fairly simple renames of 1.3 functions show up
18 matches
Mail list logo