Re: [users@httpd] apache 2.4 httpd.conf configuration

2015-12-28 Thread Yehuda Katz
Did you have --enable-module=static also? Are other modules compiled in? Check for LoadModule directives in your config to make sure. - Y On Mon, Dec 28, 2015 at 10:23 PM, David Long wrote: > when I start httpd. It failed with following error > "[Mon Dec 28 16:37:03.900984 2015] [core:crit] [p

[users@httpd] apache 2.4 httpd.conf configuration

2015-12-28 Thread David Long
when I start httpd. It failed with following error "[Mon Dec 28 16:37:03.900984 2015] [core:crit] [pid 29127:tid 1] AH00136: Server MUST relinquish startup privileges before accepting connections. Please ensure mod_unixd or other system security module is loaded." I had "--enable-unixd" in my c

Re: [users@httpd] mod_fcgid: does FcgidMinProcessesPerClass work?

2015-12-28 Thread Steven Barre
OH, nevermind me. I cant read. I'm talking about Max, not Min. I have no experience with Min. I tried Min on my test server and it didn't work for me, so I can at least confirm you aren't crazy :) = Steven Barre, RHCE ste...@realestatewebmasters

Re: [users@httpd] mod_fcgid: does FcgidMinProcessesPerClass work?

2015-12-28 Thread Kevin Burnett
i'm using apache 2.4.7, mod_fcgid 2.3.9, and ubuntu 14.04.3. FcgidMinProcessesPerClass is supposed to provide a floor, such that no *fewer* than that number of workers will run. did you mean fewer when you said "can confirm I don't get more than FcgidMinProcessesPerClass PHP workers on that site"?

Re: [users@httpd] mod_fcgid: does FcgidMinProcessesPerClass work?

2015-12-28 Thread Steven Barre
What versions are you using? I've got Server Version: Apache/2.2.15 (Unix) mod_fcgid/2.3.9 running on CentOS 6 I'm also using SuExec to run each domain as a separate user with a separate wrapper. https://bz.apache.org/bugzilla/show_bug.cgi?id=49902 mentions that In mod_fcgid-2.2 processess

Re: [users@httpd] mod_fcgid: does FcgidMinProcessesPerClass work?

2015-12-28 Thread Kevin Burnett
Thanks for the response, Steven. Alas, it is supposed to work anywhere in server config, per the docs, and I added it to the VirtualHost section of the app in question (https://github.com/burnettk/repro-mod-fcgid-bug/commit/f03d29d6ab939f67c22b6d03f6eeced259a5aec3), and it still doesn't seem to kee

Re: [users@httpd] mod_fcgid: does FcgidMinProcessesPerClass work?

2015-12-28 Thread Steven Barre
I've found it works when defined inside a VirtualHost section, but not when defined globally in a server conf file. = Steven Barre, RHCE ste...@realestatewebmasters.com Systems Administrator Real Estate Webmasters - 250-753-9893 ==

[users@httpd] mod_fcgid: does FcgidMinProcessesPerClass work?

2015-12-28 Thread Kevin Burnett
Greetings, If I set FcgidMinProcessesPerClass to 5, it doesn't maintain 5 application worker processes at apache startup time or otherwise. It starts with 0 workers, when I hit the app with one curl, it starts up one, and when I hit the app with 10 concurrent connections, it fires up nine workers,

Re: [users@httpd] ProxyPass + Redirect

2015-12-28 Thread Christopher Schultz
Yann, On 12/17/15 3:51 AM, Yann Ylavic wrote: > On Thu, Dec 17, 2015 at 8:14 AM, Marat Khalili wrote: >> Crude, but what about: >> >> ProxyPassMatch "^/foo/(.+)$" "http://localhost:8009/foo/$1"; > > or (along the lines): > ProxyPassMatch ^/foo/((?!index\.html$).+)$ http://localhost:8009/