Initially I tried the short version.  Just tried the long version and it
works too - impressively no typos in your untested code!  Both also work
nicely for http and https.

What are the pros and cons of the short v long version?

On 2 February 2011 17:26, Jonathan Lundell <[email protected]> wrote:

>
> I'm glad to here it. Did you use the short version or the long version?
>
> If you used the short version, would you mind trying out the long version
> and letting us know how it works? I'd like to include the technique in the
> documentation.
>
> BTW, this technique (or something very like it) should work fine with the
> regex-based rewrite logic; the request.env values that we're using are
> basically http request header items, slightly cleaned up.
>
>

Reply via email to