[users@httpd] Using SetEnvIf for QUERY_STRING

2016-07-27 Thread Mohit Chawla
Hi, I am trying to use SetEnvIf with QUERY_STRING, but can't get it to work. This is being done inside the mod_deflate module block like: SetEnvIf QUERY_STRING foo var=bar LogFormat '"%q" "%{var}e"' ...with a request like curl localhost?baz, the log has: "?baz" "-" Other variables like

[users@httpd] Re: Test mail

2016-07-27 Thread Jonesy
BIG Fail. Not only did it show up here - in gmane.comp.apache.user - instead of a test group, it consisted of a mass of html and css. On Wed, 27 Jul 2016 07:14:48 +, Kothapalli, Suresh wrote: > --_000_CS1PR84MB0216D5320D88415D03FB9640ED0F0CS1PR84MB0216NAMP_ > Content-Type: text/plain;

Re: [users@httpd] ProxyPass ttl not working?

2016-07-27 Thread Matthias Leopold
Am 2016-07-27 um 14:13 schrieb Nick Kew: On Wed, 27 Jul 2016 14:01:09 +0200 Matthias Leopold wrote: Check what headers are actually being exchanged between the proxy and backend (and from the Client). The keepalive timeouts are only relevant if all parties agree to

Re: [users@httpd] ProxyPass ttl not working?

2016-07-27 Thread Nick Kew
On Wed, 27 Jul 2016 14:01:09 +0200 Matthias Leopold wrote: Check what headers are actually being exchanged between the proxy and backend (and from the Client). The keepalive timeouts are only relevant if all parties agree to them. > ProxyPass https://xxx ttl=20

[users@httpd] ProxyPass ttl not working?

2016-07-27 Thread Matthias Leopold
Hi, i'm reverse proxying from an apache 2.2 to an apache 2.4 server (both RHEL). proxy VirtualHost is SSL (SSLProxyEngine On, SSLProxyVerify none) on the proxy i'm seeing errors like proxy: Error reading from remote server returned by xxx (70014)End of file found: proxy: error reading status

RE: [users@httpd] Appache load blance

2016-07-27 Thread Kothapalli, Suresh
Very simple option is setup stickysession ProxySet lbmethod=bytraffic ProxySet stickysession=JSESSIONID|jsessionid From: kaushalender shekhawat [mailto:itsme_ko...@yahoo.com.INVALID] Sent: Wednesday, July 27, 2016 2:28 PM To: users@httpd.apache.org Subject: [users@httpd] Appache load blance HI

Re: [users@httpd] Appache load blance

2016-07-27 Thread James Smith
(Simple) You can use sticky sessions (Better) Or re-write your code to use a shared memory layer such as memcached... On 7/27/2016 9:58 AM, kaushalender shekhawat wrote: HI All, Please forgive me if this sound very dump,as I am very new beginner to apache load balancer, Following is the

[users@httpd] Appache load blance

2016-07-27 Thread kaushalender shekhawat
HI All, Please forgive me if this sound  very dump,as I am very new beginner to  apache load balancer, Following is the scenario. Pls help I have 4 session based application  server  behind the Apache  load balancer .Whenever a request from short code  comes for the application. Application

Re: [users@httpd] Reverse Proxy Unable to send client ip address to application server

2016-07-27 Thread Daniel
You can see it in logs if you add "%{X-Forwarded-For}i" to your LogFormat, also make sure you don't have ProxyAddHeaders set to off Application should see that header with two values instead of one as in: X-Forwarded-For = clientip,proxyip 2016-07-26 14:15 GMT+02:00 :

[users@httpd] Test mail

2016-07-27 Thread Kothapalli, Suresh