Thanks Jeremy.
That's exactly what I needed to know.
Dave
On 9/25/07, Jeremy Sowden [EMAIL PROTECTED] wrote:
David Wortham wrote:
I am a module developer with a little experience. I'm not looking for
everyday sysadmin info.
When my module went public, I noticed that there were some
César,
I would think the most important part of timing when you create the shm
is that you time it so all of the child processes can attach to it. That
means that at least the attachment calls have to be made after the parent
process has created the child processes. You can probably do the
. It is obvious when using localhost or
127.0.0.1. But when the URL is the machine name, I seem to be getting
an IP address. I do see in r-server-server_hostname, is there any
way to convert that into the IP address?
Sam
--
David Wortham
Senior Web Applications Developer
Unspam Technologies, Inc.
(408
Sam,
I knew I missed something. There is a C-string containing the local_ip of
the server in the conn_rec struct.
I believe the access from a request_rec would be r-connection-local_ip
Dave
On 5/9/07, David Wortham [EMAIL PROTECTED] wrote:
Sam,
From what I know, which is not much
Sam,
The classic access hook (for Apache = 2.0) looks like the following:
*ap_hook_access*_checker(kiosk_hook_Access,
NULL,NULL, APR_HOOK_MIDDLE);
This assumes that your access-checking function is called
kiosk_hook_Access. In 2.0 and newer, it will be called from your hook
/
--
David Wortham
Senior Web Applications Developer
Unspam Technologies, Inc.
(408) 338-8863
harvesters to get my addresses, not easier. Thanks.
On 5/5/07, Thibaut VARENE [EMAIL PROTECTED] wrote:
On 5/5/07, David Wortham [EMAIL PROTECTED] wrote:
Thiabut,
As far as I know, URI escaping functions escape all non-alpha
numberics
which are not in the following set of characters
or for example
code that deals with this?
Thanks,
Dave
--
David Wortham
Senior Web Applications Developer
Unspam Technologies, Inc.
1901 Prospector Dr. #30
Park City, UT 84060
(435) 513-0672
and there will be a
httpd.apache.orgmodule announcement soon.
I apologize if this message was a little spammy, but I'm excited about the
fact that it's almost ready for the public.
Thanks again, Graham.
Regards,
Dave
--
David Wortham
Senior Web Applications Developer
Unspam Technologies, Inc.
1901 Prospector Dr. #30
Park City
to get a backtrace from
an Apache (Linux) coredump file? Perhaps other mailing lists that could
help?
Thanks,
Dave
--
David Wortham
Senior Web Applications Developer
Unspam Technologies, Inc.
1901 Prospector Dr. #30
Park City, UT 84060
(435) 513-0672
:19:40 -0500
David Wortham [EMAIL PROTECTED] wrote:
My problem is that I am getting core dumps (using the
CoreDumpDirectory directive of the MPM module) but I can't read them
with my version of gdb (I am running 6.3-5). My specific error is:
/home/.../core.pid is not a core dump: File format
--
David Wortham
Senior Web Applications Developer
Unspam Technologies, Inc.
1901 Prospector Dr. #30
Park City, UT 84060
(435) 513-0672
dir/location directives. I need to examine all the per dir/location
module_config's for this mod.
Can I do something like ...
for (server = base_server; server; server = server-next) {
conf = ap_get_module_config(server-lookup_defaults, my_mod);
}
regards
srp
--
David Wortham
Senior Web
sure to account for multiple dir_cfgs with NULL descriptor/identifier
string).
Dave
On 4/12/07, Joe Lewis [EMAIL PROTECTED] wrote:
David Wortham wrote:
SRP,
If I am correct, that will work if you only need to look at only
server/vhost cfg structures (won't work for directory, location
used by mod_cgid for UNIX sockets to communicate with daemon
process. This though can be overridden using ScriptSock directive.
Graham
--
David Wortham
Senior Web Applications Developer
Unspam Technologies, Inc.
1901 Prospector Dr. #30
Park City, UT 84060
(435) 513-0672
I use the same code
to write to the same directory?*
* I need to write to my own file(s) not write to existing log files (my
cache files are serialized structs).
Does anyone else know of a well-tested module that can handle user-switching
and writing to logs gracefully?
Thanks,
Dave
--
David
-specific forum/mailing list or on www.php.net (the comments on that site
are sometimes extremely helpful).
Regards,
David Wortham
On 3/5/07, Erica Zhang [EMAIL PROTECTED] wrote:
Hi,
I want to develop a filter module to cache responses for XMLHttp
requests for Apache. Before that, I have tried
changed the PHP script. Now I change them back and also set
CacheIgnoreCacheControl On. And still could not work. For other
questions, please see the my answers below. Thanks.
David Wortham wrote:
Erica,
My observations of your headers:
(1) The Last-Modified line contains the current timestamp
search on Google Codesearch revealed that Nick (Kew) wrote a
HTTPClient.(c|h) library (used with mod_validator and possibly with
others). Will this code do what I want?
Thanks,
David Wortham
Thanks to all of those who responded to my whitescreen/segfault problems.
It turns out I was 'allocing' memory for the newly created dir_cfg and for
an array of rbl_handler pointers, but not for each individual rbl_pointer
structure that the rbl_handler pointers pointed to.
Now that that's
I think I was able to answer my own question(s).
This link got me curious:
http://www.f-m-c.org/projects/apache/html/3_3Extending_Apache.html
I read what seemed to say that the merging of directories was done at the
beginning of the handling of a request. I re-worked my debug code to output
to
Hi all,
I'm adding a merge function (for use with directory-based configuration
and server-based configuration).
When I finished the function, I noticed that it was causing whitescreens
(empty responses).
As you can see below, I allocate memory via 'apr_pcalloc' and then I:
(1) loop through
22 matches
Mail list logo