httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nick Kew <n...@webthing.com>
Subject Re: [users@httpd] Retrieve value from notes table into ENV var or similar
Date Wed, 07 Jun 2006 22:01:05 GMT
On Wednesday 07 June 2006 21:54, Brian Rectanus wrote:
> Does anyone know of a way to retrieve a value from the notes table
> into an ENV var or otherwise use it within an apache conf?

Notes are per-request.  They don't exist outside a request.

> All I can 
> find is docs on how to use it in logs, but not actually base a
> decision on the value or use it in a RewriteRule, etc.

If there's a good reason to use [something] in your application,
it should be an env var rather than a note in the first place.

> Specifically, I want to know what route that was used by the balancer
> within a 2.2.2 reverse proxy.  This is the 'session-route' note
> assigned within mod_proxy_balancer.c

You can access that from a module.

-- 
Nick Kew

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message