[users@httpd] apache sending mail with subject “2.2.2.2 not in hosts list”

2016-07-01 Thread aye coder
I recently updated my server's IP address. After restarting services, apache began sending mail (from the apa...@box.example.com) with the subject "2.2.2.2 not in hosts list". There is no body to the email - just that subject. This message is sent once every minute from UID 48 (apache). System

Re: [users@httpd] Date Format of Shell Program Changes in Apache

2016-07-01 Thread Yehuda Katz
This isn't a perl list, but I was playing around and found you can do this in perl: #!/usr/bin/perl > use strict; > BEGIN > { > $ENV{LC_TIME}= 'en_US.UTF-8'; > } > print "content-type: text/plain\n\n"; > print `who`; > print `locale`; Hopefully that helps, - Y On Fri, Jul 1, 2016 at

Re: [users@httpd] Date Format of Shell Program Changes in Apache

2016-07-01 Thread Yehuda Katz
This is because of the locale settings. I changed the script to show the locale (and to be plain text so the spaces are visible). #!/usr/bin/perl > use strict; > print "content-type: text/plain\n\n"; > print `who`; > print `locale`; Apache shows this: yehuda pts/2Jul 1 17:37

[users@httpd] Date Format of Shell Program Changes in Apache

2016-07-01 Thread Rob McAninch
Server version: Apache/2.4.10 (Debian) This seems like it should be simple but manual pages and searching have not shown me an answer yet. Reduced it to as simple as I can, I don't understand why the date format is different in each. #!/usr/bin/perl use strict; print "content-type:

Re: [users@httpd] ProxyPreserveHost doesn't work with SSL

2016-07-01 Thread Yann Ylavic
On Fri, Jul 1, 2016 at 6:26 PM, Marat Khalili wrote: > > Because of SSL the problem is somewhat hard to debug, can't just packet > trace. I tried to replace IIS application with CGI script on different > Apache, without SSL, and found that ProxyPreserveHost is not ignored >

[users@httpd] ProxyPreserveHost doesn't work with SSL

2016-07-01 Thread Marat Khalili
Dear all, I'm reverse proxying requests on Apache/2.4.18 (stock version on Ubuntu 16.04) via SSL to an application running on IIS 7.0. Somehow, despite ProxyPreserveHost, IIS app manages to sniff IP-address 10.1.2.3 specified in ProxyPass (see below) and breaks. If I replace 10.1.2.3 with

Re: [users@httpd] Last-Modified header overridden

2016-07-01 Thread Luca Toscano
2016-07-01 16:53 GMT+02:00 Vacelet, Manuel : > > > On Fri, Jul 1, 2016 at 4:14 PM, Luca Toscano > wrote: > >> >> >> 2016-06-29 9:38 GMT+02:00 Luca Toscano : >> >>> >>> >>> 2016-06-28 18:32 GMT+02:00 Luca Toscano

Re: [users@httpd] Last-Modified header overridden

2016-07-01 Thread Vacelet, Manuel
On Fri, Jul 1, 2016 at 4:14 PM, Luca Toscano wrote: > > > 2016-06-29 9:38 GMT+02:00 Luca Toscano : > >> >> >> 2016-06-28 18:32 GMT+02:00 Luca Toscano : >> >>> >>> >>> 2016-06-27 14:52 GMT+02:00 Vacelet, Manuel

RE: [users@httpd] Issues migrating Weblogic proxies from Sun One 6.1 to Apache 2.4

2016-07-01 Thread Joe Muller
I have not yet tried disabling KeepAlive. For our IPlanet servers we have always had KeepAlive turned ON. Also support recommended I make sure it is ON. I guess I can try turning it off just to see what happens, but I imagine there is a performance hit leaving it like that. I have tried

Re: [users@httpd] Last-Modified header overridden

2016-07-01 Thread Luca Toscano
2016-06-29 9:38 GMT+02:00 Luca Toscano : > > > 2016-06-28 18:32 GMT+02:00 Luca Toscano : > >> >> >> 2016-06-27 14:52 GMT+02:00 Vacelet, Manuel : >> >>> >>> >>> On Mon, Jun 27, 2016 at 2:17 PM, Luca Toscano

Re: [users@httpd] Issues migrating Weblogic proxies from Sun One 6.1 to Apache 2.4

2016-07-01 Thread Mike Rumph
Hello Joe, You can see the parameters that are available from the WLS plug-ins here: - https://docs.oracle.com/middleware/1213/webtier/PLGWL/plugin_params.htm#PLGWL475 The equivalent to what Yann was referring could be KeepAliveEnabled and KeepAliveSecs. But ConnectTimeoutSecs,

Re: [users@httpd] Issues migrating Weblogic proxies from Sun One 6.1 to Apache 2.4

2016-07-01 Thread Daniel
that would certainly be a good test. To see if you get the same behaviour disabling weblogic plugin and switching to mod_proxy. If with both the issue happens the same you have a very good reason to believe the issue is not in the reverse proxy, but rather the backend or the balancer. 2016-07-01

RE: [users@httpd] Issues migrating Weblogic proxies from Sun One 6.1 to Apache 2.4

2016-07-01 Thread Joe Muller
As far as we can see from fiddler and the Apache logs the request is fully sent. I assume those parameters you mentioned are for mod_proxy ? We are not using mod_proxy for this, we are using the Weblogic plug-in for Apache 2.4. -Original Message- From: Yann Ylavic

Re: [users@httpd] Issues migrating Weblogic proxies from Sun One 6.1 to Apache 2.4

2016-07-01 Thread Yann Ylavic
On Fri, Jul 1, 2016 at 12:49 AM, Joe Muller wrote: > > One interesting thing we did find on a packet capture on the back end > between the proxy server and the application server is that 3 seconds after > the proxy server apparently closed the port, the Weblogic