On Thu, Oct 9, 2008 at 15:54, Andrej van der Zee
[EMAIL PROTECTED] wrote:
Hi,
No, the Content-Length doesn't include the size of the headers.
Yes of course, but you could add the length of all r-headers_in.
It's not very reliable. In headers_out you have things like key and
value, while
To clarify:
Is it currently possible to log authentication requests (ideally both
success and failure, individually)? If not, is it possible?
Meant: is it currently possible to do this with Apache 2.2 (perhaps
using an existing module)? If not, is it even theoretically possible?
Dave
On Thu, Oct 9, 2008 at 15:44, Andrej van der Zee
[EMAIL PROTECTED] wrote:
Thanks for your reply!
Giving it a second thought, the problem looks complicated. Such
filter-based counters would count the traffic of _one_ apache process.
When you increment the counter, you have to protect it from
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
Hi,
I was wondering what the purpose is of the macros
APR_DECLARE_OPTIONAL_FN and APR_RETRIEVE_OPTIONAL_FN. For example, in
mod_authn_dbd APR_RETRIEVE_OPTIONAL_FN is used to get a hold on the
functions ap_dbd_acquire and ap_dbd_prepare declared in in mod_dbd
with APR_DECLARE_OPTIONAL_FN. I could
Hi,
Without them, it became impossible to build plugable frameworks without
linking one module to another.
Yes of course, that would be necessary if you compile your module
outside the httpd source tree with apxs I guess.
Thanks a lot,
Andrej
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
On 10/08/2008 10:55 PM, Matt Stevenson wrote:
Hi,
I've used mod_jk (1/2) for years. I've always had an issue when a backend
server goes down, not tomcat/jboss stopped
but dead. Recently some people I work with have been using mod_proxy and
mod_proxy_ajp. This seems to have the same
On Thu, Oct 9, 2008 at 5:59 AM, Ian G [EMAIL PROTECTED] wrote:
As we all know, this will not be in 2.2.10... Please recall that
things must be in -trunk before being viable for backport to 2.2.x.
It's impossible to even express how disappointing this is ;(
There are only two changes in TLS
On 10/08/2008 11:21 PM, Vinicius Petrucci wrote:
Hi,
ok. but if I cannot change the assignment of workers to balancer
during runtime, how do I duplicate the workers at startup?
where should I write the code for duplication?
I've tried using the httpd.conf, e.g.,
Proxy
On Thu, Oct 9, 2008 at 14:40, Andrej van der Zee
[EMAIL PROTECTED] wrote:
Hi,
I was wondering what would be the right way to get the number of bytes
/ packets that are sent / received in an Apache module for httpd-2.1
and higher (including the HTTP headers).
Check server/core.c and
As we all know, this will not be in 2.2.10... Please recall that
things must be in -trunk before being viable for backport to 2.2.x.
It's impossible to even express how disappointing this is ;(
There are only two changes in TLS on the server side that have been
identified to have any effect
On Thu, Oct 9, 2008 at 15:11, Sorin Manolache [EMAIL PROTECTED] wrote:
On Thu, Oct 9, 2008 at 14:40, Andrej van der Zee
[EMAIL PROTECTED] wrote:
Hi,
I was wondering what would be the right way to get the number of bytes
/ packets that are sent / received in an Apache module for httpd-2.1
On Oct 8, 2008, at 5:26 PM, Vinicius Petrucci wrote:
I don't think the approach you are suggesting will work.
I would suggest duplicating the workers at startup, enable/disable in
each balancer to 'move' them.
Correct. So you cannot change the assignment of workers to a
balancer during
Thanks for your reply!
Giving it a second thought, the problem looks complicated. Such
filter-based counters would count the traffic of _one_ apache process.
When you increment the counter, you have to protect it from concurrent
access by other threads running in the same apache child
On Oct 8, 2008, at 4:44 PM, Paul Querna wrote:
William A. Rowe, Jr. wrote:
Oden Eriksson wrote:
Den Wednesday 08 October 2008 19:50:06 skrev William A. Rowe, Jr.:
Akins, Brian wrote:
On 10/7/08 8:49 PM, William A. Rowe, Jr. [EMAIL PROTECTED]
wrote:
Sure sounds like this is a
I forgot to mention, but I need the number of packets / bytes per HTTP
request and log it to a database with other information. So I guess
that would take case of all the hairy stuff. I think I will give it a
go as you recommend with an input and output filter that only counts
the bytes and
Hi Dave,
Would mod_logio be at all helpful?
http://httpd.apache.org/docs/2.2/mod/mod_logio.html
I haven't looked into it, but the source might give you some ideas. You
may even have a direct solution if you use a module that logs directly
to a database. I must admit that I don't know
Hi,
No, the Content-Length doesn't include the size of the headers.
Yes of course, but you could add the length of all r-headers_in. I
just wondered if the content-type reflects the actual size, for
example if the request is compressed.
While I was typing the message, Dave Ingram's message
Would mod_logio be at all helpful?
You really made it easy for me huh? Thanks alot.
No use in doing more work than you need to ;-)
To be honest, I only found out about it today while researching some
obscure logging options.
A quick search reveals that there are some modules out
Hi,
A quick search reveals that there are some modules out there that do log
to databases, but I don't know how well-maintained they are (mod_log_sql
only mentions Apache 2.0, for example) or how much work they would be to
use (an O'Reilly page
A quick search reveals that there are some modules out there that do log
to databases, but I don't know how well-maintained they are (mod_log_sql
only mentions Apache 2.0, for example) or how much work they would be to
use (an O'Reilly page
Hi all,
Just thinking about logging...
Is it currently possible to log authentication requests (ideally both
success and failure, individually)? If not, is it possible? And where
should the module fit into the authentication chain? Is this related to
Rick Houser's earlier posts about wrapping an
On Tue, Oct 7, 2008 at 7:03 PM, Ruediger Pluem [EMAIL PROTECTED] wrote:
One comment in the event version of ap_queue_info_wait_for_idler confuses
me:
* A negative value in queue_info-idlers tells how many
* threads are waiting on an idle worker.
IMHO this would require
Had a bit more time, here is a patch that should work for Unix which have
apr_wait_for_io_or_timeout available. I can't test windows/others so that's
the reason for the ifdef.
ProxyPass / balance://hotcluster/
Proxy balance://hotcluster
# defaultish tomcat
BalancerMember
On 10/09/2008 10:11 PM, Matt Stevenson wrote:
Had a bit more time, here is a patch that should work for Unix which have
apr_wait_for_io_or_timeout available. I can't test windows/others so that's
the reason for the ifdef.
ProxyPass / balance://hotcluster/
Proxy balance://hotcluster
#
On Tue, Oct 7, 2008 at 7:03 PM, Ruediger Pluem [EMAIL PROTECTED] wrote:
I am currently looking at PR45605 (
https://issues.apache.org/bugzilla/show_bug.cgi?id=45605)
and the analysis and the resulting patch in Comment 4 look good to me
On 10/09/2008 10:53 PM, Greg Ames wrote:
On Tue, Oct 7, 2008 at 7:03 PM, Ruediger Pluem [EMAIL PROTECTED] wrote:
I am currently looking at PR45605 (
https://issues.apache.org/bugzilla/show_bug.cgi?id=45605)
and the analysis and the resulting patch in Comment 4 look good to me
I had previously discovered that mod_proxy_balancer takes over 1 second
on Windows to determine that nothing is listening on the target port.
This becomes problematic if you are balancing over a sparsely populated
set of proxy ports.
A Windows guru here found the Windows GetTcpTable which
P.S. Yes, I know this approach only has any hope of working when Apache
and the proxy backends are on the same host.
Jess Holle wrote:
I had previously discovered that mod_proxy_balancer takes over 1
second on Windows to determine that nothing is listening on the target
port. This becomes
On Tue, Oct 7, 2008 at 2:37 PM, Jim Jagielski [EMAIL PROTECTED] wrote:
... at the usual location:
http://httpd.apache.org/dev/dist/
The availability of these test tarballs does not constitute
an official release, however please download and test
as a VOTE will be called for in the
On 10/09/2008 11:50 PM, Jess Holle wrote:
P.S. Yes, I know this approach only has any hope of working when Apache
and the proxy backends are on the same host.
Jess Holle wrote:
I had previously discovered that mod_proxy_balancer takes over 1
second on Windows to determine that nothing is
Jim Jagielski wrote:
On Oct 8, 2008, at 4:44 PM, Paul Querna wrote:
So Can we ask the mod_fcgid project if we could import it?
If they are willing to change the license :)
You totally miss the point. We aren't entirely clear if this author even
has the IP they claim to have (talk
Ruediger Pluem wrote:
Did you check whether the currently running thread proxy_ajp connect timeout
fix.
(http://mail-archives.apache.org/mod_mbox/httpd-dev/200810.mbox/[EMAIL
PROTECTED]
and
http://mail-archives.apache.org/mod_mbox/httpd-dev/200810.mbox/[EMAIL
PROTECTED])
does fix your issue
34 matches
Mail list logo