Re: [users@httpd] Session disconnection

2017-02-14 Thread Fady Haikal
Yann, Disable reuse set to on means that it will disconnect the connection once the proxy call it completed. So this will affect the AJAX functions that required the connection to be always on. Regards, Fady On Tue, Feb 14, 2017 at 7:37 PM, Yann Ylavic wrote: > Hi, > >

[users@httpd] Secure cookies with mod_usertrack

2017-02-14 Thread Alex Kaiser
Hello, Is there a way to make cookies created by mod_usertrack Secure? We just upgraded from httpd 2.2.31 to 2.4.23 and now cookies created by mod_usertrack are no longer secure. We have the line "Header edit Set-Cookie ^(.*)$ $1;HttpOnly;Secure" in our httpd.conf, that in 2.2 was setting them to

Re: [users@httpd] Session disconnection

2017-02-14 Thread Yann Ylavic
Hi, On Tue, Feb 14, 2017 at 4:08 PM, Fady Haikal wrote: > > [Tue Feb 14 17:45:27.071171 2017] [proxy_http:error] [pid 1276:tid > 2080] (OS 10054)An existing connection was forcibly closed by the > remote host. : [client 10.114.117.51:51838] AH01102: error reading > status

Re: [users@httpd] is there anyway i can change the apache web server caching directory?

2017-02-14 Thread Yann Ylavic
On Tue, Feb 14, 2017 at 5:09 PM, Pal RR wrote: > is there anyway i can change the apache web server caching directory > location /tmp to other directory location /appsdata. I don't see any options > to change default /tmp directory location in apache documentation. By >

[users@httpd] is there anyway i can change the apache web server caching directory?

2017-02-14 Thread Pal RR
is there anyway i can change the apache web server caching directory location /tmp to other directory location /appsdata. I don't see any options to change default /tmp directory location in apache documentation. By default, web server is writing /caching files into /tmp file system Thanks

Re: [users@httpd] Session disconnection

2017-02-14 Thread Fady Haikal
Luca, Apache/2.4.18 (Win64) 10.114.119.* are the clients machines, 10.114.43.102 and 10.114.43.103 are the app servers yes i can see 502 in the httpd access log but all are related to a specific ajax we are using in our application, in other words it's not related to the disconnection issues we

Re: [users@httpd] Session disconnection

2017-02-14 Thread Luca Toscano
Hi! 2017-02-14 16:08 GMT+01:00 Fady Haikal : > Dear Team, > I need your urgent help for an issue i'm facing with Apache Web > Server, from time to time we are facing a disconnection on the > application and after checking the logs from Apache we can see the > below error:

Re: [users@httpd] mod_substitute only replaces first pattern match

2017-02-14 Thread Luca Toscano
Hi! 2017-02-06 17:25 GMT+01:00 : > Hi, > > I am trying a reverse proxy server based on apache httpd v2.4 on the most > recent release of CentOS: > > # httpd -version > Server version: Apache/2.4.6 (CentOS) > Server built: Nov 14 2016 18:04:44 > > # uname -a > Linux

[users@httpd] Session disconnection

2017-02-14 Thread Fady Haikal
Dear Team, I need your urgent help for an issue i'm facing with Apache Web Server, from time to time we are facing a disconnection on the application and after checking the logs from Apache we can see the below error: please advise urgently as we are working on a PROD server Our architecture: 2

Re: [users@httpd] mod_lua and subprocess_env

2017-02-14 Thread Daniel Gruno
On 02/14/2017 01:24 PM, Andrei Ivanov wrote: > On Tue, Feb 14, 2017 at 2:19 PM, Daniel Gruno > wrote: > > On 02/14/2017 01:16 PM, Andrei Ivanov wrote: > > On Tue, Feb 14, 2017 at 1:59 PM, Daniel Gruno

Re: [users@httpd] mod_lua and subprocess_env

2017-02-14 Thread Andrei Ivanov
On Tue, Feb 14, 2017 at 2:19 PM, Daniel Gruno wrote: > On 02/14/2017 01:16 PM, Andrei Ivanov wrote: > > On Tue, Feb 14, 2017 at 1:59 PM, Daniel Gruno > > wrote: > > > > On 02/14/2017 12:38 PM, Andrei Ivanov wrote: > >

Re: [users@httpd] mod_lua and subprocess_env

2017-02-14 Thread Daniel Gruno
On 02/14/2017 01:16 PM, Andrei Ivanov wrote: > On Tue, Feb 14, 2017 at 1:59 PM, Daniel Gruno > wrote: > > On 02/14/2017 12:38 PM, Andrei Ivanov wrote: > > Hi, > > I'm trying to create a lua authorization script but I can't seem to >

Re: [users@httpd] mod_lua and subprocess_env

2017-02-14 Thread Andrei Ivanov
On Tue, Feb 14, 2017 at 1:59 PM, Daniel Gruno wrote: > On 02/14/2017 12:38 PM, Andrei Ivanov wrote: > > Hi, > > I'm trying to create a lua authorization script but I can't seem to > > access the request environment: > > > > require 'apache2' > > > > function

Re: [users@httpd] mod_lua and subprocess_env

2017-02-14 Thread Daniel Gruno
On 02/14/2017 12:38 PM, Andrei Ivanov wrote: > Hi, > I'm trying to create a lua authorization script but I can't seem to > access the request environment: > > require 'apache2' > > function authz_check_remote_ip_in_client_san(r) > r:err("remote_ip_in_client_san running..."); >

[users@httpd] mod_lua and subprocess_env

2017-02-14 Thread Andrei Ivanov
Hi, I'm trying to create a lua authorization script but I can't seem to access the request environment: require 'apache2' function authz_check_remote_ip_in_client_san(r) r:err("remote_ip_in_client_san running..."); r:alert("uri: " .. r.uri); r:alert("useragent_ip: " ..

[users@httpd] Apache Web Serverg changing caching directory location /tmp to other directory location /appsdata

2017-02-14 Thread Pal RR
I am new to apache. I am running apache2 on Ubuntu 14.04 . All files are caching in /tmp directory before sending to application server. /tmp directory does not have enough disk free(empty) space. I have bigger free disk space on /appsdata directory Please give me example, how I can change apache