Wrapping an existing hook (2.0)

2008-10-03 Thread Houser, Rick
I'm relatively new to module development, but I have a need to wrap a function in a proprietary module (no source) registered via a check_user_id hook in a proprietary module (mod_auth_saf). Basically, I need to detect an expired password condition. I've already tried to use the normal pre/post

RE: Logging authentication requests

2008-10-09 Thread Houser, Rick
Given what I learned writing my module, that would certainly work. I think you'd be hooking check_user_id with the very first call that happens in that phase. That said, I don't know if there might be a better way to handle this... Thanks, Rick Houser Auto-Owners Insurance Systems Support

RE: Howto implement a new algorithm scheduler in mod_proxy_balancer

2008-10-22 Thread Houser, Rick
part #2 sounds more like the kind of a task you would want to use at least an external process, if not a separate physical machine for. Basically, you are looking for an intelligent load balancer, correct? Thanks, Rick Houser Auto-Owners Insurance Systems Support (517)703-2580 -Original

RE: Setting a handler within a configuration directive

2008-11-24 Thread Houser, Rick
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sam Carleton Sent: Monday, November 24, 2008 11:23 AM To: modules-dev@httpd.apache.org Subject: Re: Setting a handler within a configuration directive On Mon, Nov 24, 2008 at 10:52 AM, Houser, Rick [EMAIL

RE: cache POST requests

2009-02-10 Thread Houser, Rick
then maybe the limit wouldn't be affected a redirect? That gets a little off-topic. Thanx, -Tony --- Manager, IT Operations Format Dynamics, Inc. 303-573-1800x27 abia...@formatdynamics.com http://www.formatdynamics.com -Original Message- From: Houser, Rick

RE: cache POST requests

2009-02-11 Thread Houser, Rick
, Inc. 303-573-1800x27 abia...@formatdynamics.com http://www.formatdynamics.com -Original Message- From: Houser, Rick [mailto:houser.r...@aoins.com] Sent: Tuesday, February 10, 2009 2:24 PM To: modules-dev@httpd.apache.org Subject: RE: cache POST requests Is this a little clearer? Notice

RE: mem_cache and disk_cache acting differently when determine when to cache content?

2009-02-23 Thread Houser, Rick
Is this the only child process, or do you have 3+? Thanks, Rick Houser Auto-Owners Insurance Systems Support (517)703-2580 -Original Message- From: Anthony J. Biacco [mailto:abia...@formatdynamics.com] Sent: Friday, February 20, 2009 6:12 PM To: us...@httpd.apache.org Cc:

RE: rewrite before caching?

2009-03-19 Thread Houser, Rick
Sounds like a badly broken application to me. If the data is truly cacheable, the application shouldn't be taking explicit steps to try to prevent just that. Depending on what the backend system is, you might be better off using some kind of a filter to just remove that killCache parameter in

RE: rewrite before caching?

2009-03-20 Thread Houser, Rick
Is there a reason you can't just change your rewrite rule to a [R=301]? Thanks, Rick Houser Auto-Owners Insurance Systems Support (517)703-2580 -Original Message- From: Anthony J. Biacco [mailto:abia...@formatdynamics.com] Sent: Thursday, March 19, 2009 4:53 PM To:

RE: Location of Apache Modules

2009-04-22 Thread Houser, Rick
Folks I've talked to just don't try to get htaccess to work with ajax for the most part. They rely on php security. That's probably because on the backend, they still need to handle authorization. Unless all users to your backend should have equal access to all associated data, you're

RE: Location of Apache Modules

2009-04-23 Thread Houser, Rick
: Houser, Rick [mailto:houser.r...@aoins.com] Sent: Wednesday, April 22, 2009 1:49 PM To: modules-dev@httpd.apache.org Subject: RE: Location of Apache Modules Folks I've talked to just don't try to get htaccess to work with ajax for the most part. They rely on php security. That's

RE: do I need a custom proxy?

2009-06-02 Thread Houser, Rick
Not entirely. You could also either use a wildcard certificate (although IE doesn't support dots in the wildcard portion) or exclusively support the vhosts on modern browsers running TLS. Thanks, Rick Houser Auto-Owners Insurance Systems Support (517)703-2580

POST Body Buffer?

2009-06-19 Thread Houser, Rick
I'm facing a situation where we may be required to handle multi-megabyte POST submissions from dial-up users. We want to avoid tying up the backend servers for long periods of time if possible. Does anyone know of either built-in support for pre-buffering complete POST request bodies (i.e. avoid

RE: POST Body Buffer?

2009-06-19 Thread Houser, Rick
@httpd.apache.org Cc: modules-dev@httpd.apache.org Subject: Re: POST Body Buffer? Are your multi-megabyte submissions going to use multipart/form-data encoding? If so, ModSecurity does exactly what you need when you enable request body buffering. Ivan On 19 Jun 2009, at 21:01, Houser, Rick

RE: Module that forward requests

2009-07-13 Thread Houser, Rick
I'm newbie in APR ... the same in mod_rewrite with flag [P]. If the mod_rewrite does what you need, you should use that rather than re-writing an alternate version on your own. Thanks, Rick Houser Auto-Owners Insurance Systems Support (517)703-2580 -Original Message- From: ricardo13

RE: How do I manipulate request_rec Object in worker.c

2009-07-15 Thread Houser, Rick
You realize that you could trivially handle most related issues without changing Apache at all just by prioritizing your backend work, right? For example, put your higher priority work in a faster server process than the low priority work. If your applications are written according to best

RE: mod_deflate feature needed

2009-07-16 Thread Houser, Rick
I don't understand why standard mod_deflate functionality won't work. If you violate the specs and muck with content-length, it's not going to work right in a browser, anyhow. Thanks, Rick Houser Auto-Owners Insurance Systems Support (517)703-2580 -Original Message- From: Anthony J.

RE: mod_deflate feature needed

2009-07-16 Thread Houser, Rick
I'm not familiar with the CDN acronym. I could be mistaken, but I'm fairly certain that HTTP 1.1 required support for chunked transfer (which implies Content-Length would NOT be required for anything HTTP 1.1 compliant). Additionally, I thought the content-length referenced the contents of the

RE: Defining mandatory parameters for Apache modules

2009-08-13 Thread Houser, Rick
There's a hook for processing your configuration and making any changes (offhand, post-config?). If any of this is done on a file or directory level, you can do that in your configuration merge callbacks. I have to do something similar where a forwarding capability might be enabled, but the

RE: correct hook function after accepting connection

2009-08-28 Thread Houser, Rick
However, I would suggest that connections are better dropped at IP-level (by firewall rules/iptables) or by using I agree for blocking access, however a module that was to add something like a per-IP connection-rate or simultaneous connection limit could be a nice gem for the toolbox, too :).

RE: Repetitive warnings on ErrorLogs.

2009-09-09 Thread Houser, Rick
This is a known issue in IBM's 2.0.47 port of Apache (IHS), which was fixed in a later upstream version (possibly by the 2.2.8 port, but I really can't say for sure). It would take a lot of digging for me to locate the specific version, so I'm going to pass on that one. At least in my case, this