Re: [users@httpd] Retrieve value from notes table into ENV var or similar

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux