[users@httpd] Re: AH00273: apr_proc_mutex_lock failed, possibly caused by cron, systemd or su

2015-12-29 Thread Mark Ziesmer
> Rainer Canavan sevenval.com> writes: > > > we've got an obscure problem with the apache httpd that was shipped > > with CentOS 7.2. We perform automatic builds and updates via cron, > > and, since the update to CentOS 7.2. The update script is triggered by > > cron and stops, yum updates and st

Re: [users@httpd] unexpected behaviour of default host

2015-12-29 Thread Yann Ylavic
On Tue, Dec 29, 2015 at 8:49 PM, Hajo Locke wrote: > > > Am 29.12.2015 um 20:07 schrieb Eric Covener: >> >> On Tue, Dec 29, 2015 at 2:05 PM, Hajo Locke wrote: >>> >>> In Apache 2.2 we used additional "Servername *", but with 2.4 it is not >>> allowed to use wildcards with Servername-Directive. >>

Re: [users@httpd] unexpected behaviour of default host

2015-12-29 Thread Hajo Locke
Am 29.12.2015 um 20:07 schrieb Eric Covener: On Tue, Dec 29, 2015 at 2:05 PM, Hajo Locke wrote: In Apache 2.2 we used additional "Servername *", but with 2.4 it is not allowed to use wildcards with Servername-Directive. I think it was treated as a literal * in 2.2. It's just a shorter/more c

Re: [users@httpd] unexpected behaviour of default host

2015-12-29 Thread Eric Covener
On Tue, Dec 29, 2015 at 2:05 PM, Hajo Locke wrote: > In Apache 2.2 we used additional "Servername *", but with 2.4 it is not > allowed to use wildcards with Servername-Directive. I think it was treated as a literal * in 2.2. It's just a shorter/more confusing version of non.existing_host.noTld.

[users@httpd] unexpected behaviour of default host

2015-12-29 Thread Hajo Locke
Hello List, used for years apache 2.2, now trying to upgrade to 2.4 and do some configtests. I noticed an unexpected behaviour of default host. like suggested here, i use a minimal default vhost: https://httpd.apache.org/docs/2.4/vhosts/examples.html DocumentRoot"/www/default" In Apache 2.2

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

2015-12-29 Thread Yehuda Katz
Please keep messages on the mailing list so everyone can benefit (or critique). You need to replace module with the name of the module. I should have written in like the manual does in all caps (--enable-MODULE=static) which makes it clearer. - Y On Tue, Dec 29, 2015 at 12:45 PM, David Long wro

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

2015-12-29 Thread Yehuda Katz
I suspect (although I haven't tried it) that you either need LoadModule or to explicitly specify that you want unixd compiled statically linked: Look on this page of the docs https://httpd.apache.org/docs/2.4/programs/configure.html#options for --enable-module= - Y On Tue, Dec 29, 2015 at 12:26 P

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

2015-12-29 Thread David Long
Hi Yehada, I don’t have “--enable-module=static” in configure. Can I ask you if I have "--enable-unixd” and “--enable-module=static” do I still need LoadModule line in httpd.conf? In my previous 2.2 version. If I have module enabled in configure for compile I don’t need to use any LoadModule lin

Re: [users@httpd] Help with Apache configuration

2015-12-29 Thread Yann Ylavic
On Tue, Dec 29, 2015 at 3:16 PM, Yann Ylavic wrote: > > You possibly need something like: > > RewriteRule ^/app1/(.*) > http://host_name1:app1_port/app/WebObjects/app.woa/$1 [P] > RewriteRule ^/app2/(.*) > http://host_name2:app2_port/app/WebObjects/app.woa/$1 [P] > http://host_name1:ap

Re: [users@httpd] Help with Apache configuration

2015-12-29 Thread Yann Ylavic
Hi, On Fri, Dec 18, 2015 at 2:35 PM, chetan jain wrote: > > #For app-1 > >RewriteRule ^/app1$ /app1/ [R] >RewriteRule ^/app1/(.*) /app/WebObjects/app.woa/$1 [P] >ProxyPass /app/WebObjects/app.woa/ > http://host_name1:app1_port/app/WebObjects/app.woa/ >ProxyPassReverse /app/WebObj

Re: [users@httpd] Help with Apache configuration

2015-12-29 Thread Tobias Adolph
HI Chetan, you could place them in different virtual-Host-Container (which means different domains) or you could alter the url-part (/app/WebObjects/app.woa) to another string (like /app/webObjects/app1|2.woa) that is different for each backend. Regards, Tobias Am 29.12.2015 um 14:43 schrie

Re: [users@httpd] Help with Apache configuration

2015-12-29 Thread chetan jain
Thanks Tobias, The problem with that would be, I won't be able to ProxyPass with path in Location bock. --Chetan On Tue, Dec 29, 2015 at 4:03 PM, Tobias Adolph wrote: > Hi Jain, > > did you configure those in the same virtualhost-Block? > > Am 18.12.2015 um 14:35 schrieb chetan jain: > > #For

Re: [users@httpd] Help with Apache configuration

2015-12-29 Thread Tobias Adolph
Hi Jain, did you configure those in the same virtualhost-Block? Am 18.12.2015 um 14:35 schrieb chetan jain: #For app-1 RewriteRule ^/app1$ /app1/ [R] RewriteRule ^/app1/(.*) /app/WebObjects/app.woa/$1 [P] ProxyPass /app/WebObjects/app.woa/ http://host_name1:app1_port/app/WebObjects/a

[users@httpd] Re: Help with Apache configuration

2015-12-29 Thread chetan jain
Any pointers are highly appreciated. On Fri, Dec 18, 2015 at 7:05 PM, chetan jain wrote: > Hi all, > > I have a scenario where i have different instances of the same application > deployed on different boxes and we call those instances as app1, app2. > > and the actual URL for both will be like