Re: [users@httpd] Enabling TCP fast open on apache

2013-06-18 Thread Robert Schoultz
Hello Leonas. I _believe_ TCP_FASTOPEN is disabled in the kernel by default. Is it enabled? Try this and see if it helps: echo 1 > /proc/sys/net/ipv4/tcp_fastopen /Rob On Sat, Jun 15, 2013 at 12:43 PM, Leonas Sutkevičius wrote: > Hello, > > I'm trying to enable TCP fast open on Apache server.

[users@httpd] Problem with orhpaned fcgi php processes

2013-06-18 Thread Lorenzo Milesi
Hi. We have a webserver with apache 2.2.14, PHP 5.3.2. PHP is executed using mod_fcgid (see bottom). Everything works fine but sometimes, and we still have to figure out what triggers this, when php processes are "rotated" they remain active and orphaned: apache spawns new php processes and the

Re: [users@httpd] Protect server-status with https required?

2013-06-18 Thread Kevin A. McGrail
On 6/18/2013 10:11 PM, Jim Albert wrote: This should be relevant: http://httpd.apache.org/docs/2.2/mod/mod_ssl.html#sslrequiressl Thanks Jim. That worked like a charm. regards, KAM - To unsubscribe, e-mail: users-unsubscr...

Re: [users@httpd] Protect server-status with https required?

2013-06-18 Thread Jim Albert
On 6/18/2013 9:51 PM, Kevin A. McGrail wrote: Hello All, We are protecting server-status and info with basic auth using a config block similar to the following: SetHandler server-info #Order deny,allow #Deny from all #Allow from .example.com AuthType basic AuthNam

[users@httpd] Protect server-status with https required?

2013-06-18 Thread Kevin A. McGrail
Hello All, We are protecting server-status and info with basic auth using a config block similar to the following: SetHandler server-info #Order deny,allow #Deny from all #Allow from .example.com AuthType basic AuthName "Apache Info" AuthUserFile /usr/local/apache2

Re: [users@httpd] Disk Cache with multiple virtual hosts

2013-06-18 Thread Igor Cicimov
On 18/06/2013 5:21 PM, "Paul Beckett" wrote: > > I've read the Apache 2.4 caching guide, mod_cache and mod_cache_disk pages, but am unsure whether I need a unique CacheRoot for each virtual host, or whether multiple virtual hosts can/should share the same CacheRoot? > > Also I'm thinking of settin

[users@httpd] mod_speling serving bogus 300 responses

2013-06-18 Thread Stas Bekman
Hi, Recently some massive bad image scraping sites started mangling the requests to the images on my site, I get thousands of requests to urls like: "/blah/blah/images/Image-5.jpg" width="128" height="49" alt="image"/> this is the request uri verbatim, not just a snippet of the html on t

Re: [users@httpd] Proxy load balancer and (a)synchronous I/O

2013-06-18 Thread Eric Covener
On Tue, Jun 18, 2013 at 10:51 AM, marco.signor...@gmail.com wrote: > Hi users, > > I'm configuring the apache httpd server in front of a farm of cometd > servers. The clients interact with the cometd server through long polling > connections. > > Does the httpd server still use a thread-per-reques

Re: [users@httpd] mod_remoteip: server-status page does not show real ip

2013-06-18 Thread Володя К .
18.06.2013, 18:00, "David Guerra" : > You have mod rpaf installed? > No,, I don't have mod_rpaf. But I have mod_remoteip ( apache-2.4) - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail

Re: [users@httpd] mod_remoteip: server-status page does not show real ip

2013-06-18 Thread David Guerra
I've never had luck getting remoteip fully working but I've got setups with rpaf working with no issues. On Tue, Jun 18, 2013 at 11:02 AM, Eric Covener wrote: > On Tue, Jun 18, 2013 at 10:59 AM, David Guerra > wrote: > > You have mod rpaf installed? > > Doesn't mod_remoteip supercede it? > > >

Re: [users@httpd] mod_remoteip: server-status page does not show real ip

2013-06-18 Thread Eric Covener
first half of my last update was incorrect and meant to zap it -- it doesn't happen too early, it just seems to side-step mod_remoteip. - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail:

Re: [users@httpd] mod_remoteip: server-status page does not show real ip

2013-06-18 Thread Eric Covener
> After this I can see real IP addresses in apache logs, but /server-status/ > page shows only frontend (nginx) IP-address 212.12.x.x > Can somebody help me to see real IP-addresses in server-status page ? The code mod_status displays seems to be set very early when there is a TCP connection bu

Re: [users@httpd] mod_remoteip: server-status page does not show real ip

2013-06-18 Thread Eric Covener
On Tue, Jun 18, 2013 at 10:59 AM, David Guerra wrote: > You have mod rpaf installed? Doesn't mod_remoteip supercede it? > > > On Tue, Jun 18, 2013 at 10:50 AM, Володя К. wrote: >> >> >> >> 18.06.2013, 17:03, "David Guerra" : >> > This should be >> > helpful.http://www.daveperrett.com/articles/2

Re: [users@httpd] mod_remoteip: server-status page does not show real ip

2013-06-18 Thread David Guerra
You have mod rpaf installed? On Tue, Jun 18, 2013 at 10:50 AM, Володя К. wrote: > > > 18.06.2013, 17:03, "David Guerra" : > > This should be helpful. > http://www.daveperrett.com/articles/2009/08/10/passing-ips-to-apache-with-nginx-proxy/ > > > > The issue is with Apache not accepting the real

Re: [users@httpd] Proxy load balancer and (a)synchronous I/O

2013-06-18 Thread Tom Evans
On Tue, Jun 18, 2013 at 3:51 PM, marco.signor...@gmail.com wrote: > Hi users, > > I'm configuring the apache httpd server in front of a farm of cometd > servers. The clients interact with the cometd server through long polling > connections. > > Does the httpd server still use a thread-per-request

[users@httpd] Proxy load balancer and (a)synchronous I/O

2013-06-18 Thread marco.signor...@gmail.com
Hi users, I'm configuring the apache httpd server in front of a farm of cometd servers. The clients interact with the cometd server through long polling connections. Does the httpd server still use a thread-per-request model? In my usecase this means that a thread per client will be "active". htt

Re: [users@httpd] mod_remoteip: server-status page does not show real ip

2013-06-18 Thread Володя К .
18.06.2013, 17:03, "David Guerra" : > This should be > helpful.http://www.daveperrett.com/articles/2009/08/10/passing-ips-to-apache-with-nginx-proxy/ > > The issue is with Apache not accepting the real IP address from Nginx. > David, but after enabling mod_remoteip apache writes real IP-address

Re: [users@httpd] mod_remoteip: server-status page does not show real ip

2013-06-18 Thread David Guerra
This should be helpful. http://www.daveperrett.com/articles/2009/08/10/passing-ips-to-apache-with-nginx-proxy/ The issue is with Apache not accepting the real IP address from Nginx. On Tue, Jun 18, 2013 at 5:39 AM, Володя К. wrote: > Hi,I have Server version: Apache/2.4.4 (Ubuntu) and nginx >

[users@httpd] mod_remoteip: server-status page does not show real ip

2013-06-18 Thread Володя К .
Hi,I have Server version: Apache/2.4.4 (Ubuntu) and nginx and I try setup mod_remoteip but without success. I did next steps: 1. enable and configure mod_remoteip module # cat remoteip.conf RemoteIPHeader X-Forwarded-For RemoteIPTrustedProxy 212.12.x.x # cat remoteip.load LoadModule remoteip_

[users@httpd] Disk Cache with multiple virtual hosts

2013-06-18 Thread Paul Beckett
I've read the Apache 2.4 caching guide, mod_cache and mod_cache_disk pages, but am unsure whether I need a unique CacheRoot for each virtual host, or whether multiple virtual hosts can/should share the same CacheRoot? Also I'm thinking of setting the CacheRoot to be a tmpfs mount (effectively a