mod proxy, path rewrite, and digest authentication

2008-03-17 Thread Albert Lash
Hello, Is this the right place to ask about mod proxy and digest auth with a uri change from proxy to back-end server? I'm wondering how to carry the original request-uri through to the digest stage. I spent a few hours working on this and my notes are here:

Bug report for Apache httpd-1.3 [2008/03/16]

2008-03-17 Thread bugzilla
+---+ | Bugzilla Bug ID | | +-+ | | Status: UNC=Unconfirmed NEW=New ASS=Assigned

flood random profiletype?

2008-03-17 Thread Skye Poier Nott
It looks like (contrary to the docs) the only available profiletype for flood is round_robin. Does anyone have a patch to support profiletyperandom/profiletype? If not, and I write one, would you be interested in the patch? Thanks, Skye smime.p7s Description: S/MIME cryptographic

Re: flood random profiletype?

2008-03-17 Thread Guy Ferraiolo
Actually, I think my current patch which does randomization on URLs in round_robin profiles provides a bit more. Any news on the patch, folks? Guy On Mon, 2008-03-17 at 10:35 -0700, Skye Poier Nott wrote: It looks like (contrary to the docs) the only available profiletype for flood is

Re: flood random profiletype?

2008-03-17 Thread Skye Poier Nott
Interesting.. I have 10,000 host aliases setup up from w.example.com to w.example.com so your patch would let me do something like http:// w{random number from -}.example.com/file.html in the urllist? Well that would sure cut down on the size of the flood config xml.

Re: flood random profiletype?

2008-03-17 Thread Guy Ferraiolo
It works a bit differently because it does text substitution. That's a more general case and is much more common for our needs. Here's how it would work in your case: 1. use a requesttemplate 2. the URL would be http://w${RANVAR}.example.com/file.html RANVAR is the

Re: flood random profiletype?

2008-03-17 Thread Skye Poier Nott
Even better - very cool patch!! Like many people, I'm interested primarily in simulating real world traffic and round_robin doesn't really cut it. So is it in SVN or... ? Skye On 17-Mar-08, at 10:54 AM, Guy Ferraiolo wrote: It works a bit differently because it does text substitution.

Re: flood random profiletype?

2008-03-17 Thread Guy Ferraiolo
Well, no, because it's been submitted but not approved. But you could ask that it be approved! There needs to be a discussion about it, there is one tradeoff in the algorithm that needs to be understood. Committer-folk: see how popular this would be? Guy On Mon, 2008-03-17 at 11:04 -0700,

Re: flood random profiletype?

2008-03-17 Thread Skye Poier Nott
Well if it helps, I'd love to see this in the SVN head branch sooner rather than later. Please hear my prayers, powers-that-be :) Thanks Skye On 17-Mar-08, at 11:09 AM, Guy Ferraiolo wrote: Well, no, because it's been submitted but not approved. But you could ask that it be approved!

Re: flood random profiletype?

2008-03-17 Thread Rainer Jung
Skye Poier Nott schrieb: Even better - very cool patch!! Like many people, I'm interested primarily in simulating real world traffic and round_robin doesn't really cut it. So is it in SVN or... ? At the moment it exists as an attachment to older mails of Guy to the same list. See e.g. his

Re: flood random profiletype?

2008-03-17 Thread Guy Ferraiolo
That's the easy way. Let me know of any problems you find. Thanks, Guy On Mon, 2008-03-17 at 20:05 +0100, Rainer Jung wrote: Skye Poier Nott schrieb: Even better - very cool patch!! Like many people, I'm interested primarily in simulating real world traffic and round_robin doesn't

Re: flood random profiletype?

2008-03-17 Thread Skye Poier Nott
Great, thanks for the link. Is there a specific tag I should apply the patch to? I'm getting a lot of patch failures applying against HEAD and even the 2007-12-19 version of files (a frequent date in the diff). eg: Patching file flood-orig/flood_round_robin.c using Plan A... Hunk #1

Re: flood random profiletype?

2008-03-17 Thread Guy Ferraiolo
I did it against an svn checkout from that date, or very close to it. Can you show the actual errors? or a few? Guy On Mon, 2008-03-17 at 12:40 -0700, Skye Poier Nott wrote: Great, thanks for the link. Is there a specific tag I should apply the patch to? I'm getting a lot of patch

Re: flood random profiletype?

2008-03-17 Thread Skye Poier Nott
Nevermind, it works fine. The patch attachment I downloaded from the list archive with saved as DOS format line endings for some reason even though I'm on a BSD box :P Skye On 17-Mar-08, at 12:43 PM, Guy Ferraiolo wrote: I did it against an svn checkout from that date, or very close to

Re: flood random profiletype?

2008-03-17 Thread Guy Ferraiolo
I submitted it as unix text. Well, I'm glad the patch applies. Let me know of any issues. Guy On Mon, 2008-03-17 at 13:01 -0700, Skye Poier Nott wrote: Nevermind, it works fine. The patch attachment I downloaded from the list archive with saved as DOS format line endings for some reason

Re: flood random profiletype?

2008-03-17 Thread Skye Poier Nott
One thing I've noticed is it doesn't seem to do substitution if you specify: urlhttp://${hostname}.example.com/index.html/url but if I use this it works fine: url method=GET requesttemplate=http://${hostname}.example.com/ index.html / I'm not sure if that's intentional. Anyway,

Re: flood random profiletype?

2008-03-17 Thread Guy Ferraiolo
Yes, it has to be a requesttemplate. That allowed it to be a relatively small patch. Thanks for trying it. Guy On Mon, 2008-03-17 at 13:40 -0700, Skye Poier Nott wrote: One thing I've noticed is it doesn't seem to do substitution if you specify: