Re: [users@httpd] Piping logs to a java process : creates multiple processes

2017-03-10 Thread Milind Vaidya
I am revisiting this. As per the change suggested I modified the program so that it returns EOF and it was working fine. Until one day, the program which is supposed to get restarted by apache every hour (that's when log file rotates), stopped getting restarted. It is not stuck. It is still process

Re: [users@httpd] URG:DocumentRoot relate query on WIndows

2017-03-10 Thread William A Rowe Jr
What you are seeing is correct behavior, DocumentRoot is an absolute path, whether you have specified this or not. If httpd sees an incomplete path, it is going to work out an absolute path from the ServerRoot If it appends the default and cannot establish a full path, you will receive the indicate

[users@httpd] nonconsistent proxy 503 or 502 errors with apache 2.4

2017-03-10 Thread David Mehler
Hello, I'm running a FreeBSD 10.3 server which has an Apache 2.4.25 system running on it. It's reverse proxying to two web servers example.com and example2.com hosted in two separate FreeBSD jails. I'm getting nonconsistent 502 and 503 errors when atempting to access the systems from the outside.

Re: [users@httpd] ProxyPass ! directive

2017-03-10 Thread Matthew Broadhead
i moved the LogLevel directive to httpd.conf and now i get this [Fri Mar 10 16:41:21.491354 2017] [proxy:debug] [pid 18744] proxy_util.c(1936): AH00931: initialized single connection worker in child 18744 for (*) [Fri Mar 10 16:41:21.496525 2017] [proxy:debug] [pid 18745] proxy_util.c(1885): AH

Re: [users@httpd] ProxyPass ! directive

2017-03-10 Thread Matthew Broadhead
i also added this in the virtual host LogLevel info proxy:debug but it makes no difference to the output in error_log On 10/03/2017 16:48, Eric Covener wrote: On Fri, Mar 10, 2017 at 10:43 AM, Matthew Broadhead wrote: yes it is definitely because of that line. i also just tried ProxyPass ajp

Re: [users@httpd] URG:DocumentRoot relate query on WIndows

2017-03-10 Thread Yehuda Katz
You can set the DocumentRoot to "C:/" (note the forward slash instead of the backslash). You can technically set it to just "/" also if you want the drive where HTTPD is located. When running HTTPD on Windows, it is good practice to use forward slashes even though backslashes work in some places.

Re: [users@httpd] ProxyPass ! directive

2017-03-10 Thread Matthew Broadhead
i was looking at this message http://markmail.org/message/ne2rdzm5westbcvb well it doesn't work either way in my case. is there any way to test mod_proxy to find out why it isn't working? when i first moved to CentOS 7 i used an old configuration which worked perfectly on CentOS 6 but i have

Re: [users@httpd] ProxyPass ! directive

2017-03-10 Thread Eric Covener
On Fri, Mar 10, 2017 at 10:43 AM, Matthew Broadhead wrote: > yes it is definitely because of that line. i also just tried > > ProxyPass ajp://www.nbmlaw.co.uk:8010/ > > > ProxyPass ! > > and that has exactly the same effect That syntax is known to not work. Once you proxy within

Re: [users@httpd] ProxyPass ! directive

2017-03-10 Thread Matthew Broadhead
yes it is definitely because of that line. i also just tried ProxyPass ajp://www.nbmlaw.co.uk:8010/ ProxyPass ! and that has exactly the same effect On 10/03/2017 16:30, Eric Covener wrote: On Fri, Mar 10, 2017 at 10:24 AM, Matthew Broadhead wrote: Declaring the following directives in a

Re: [users@httpd] ProxyPass ! directive

2017-03-10 Thread Eric Covener
On Fri, Mar 10, 2017 at 10:24 AM, Matthew Broadhead wrote: > Declaring the following directives in a virtual host > ProxyPass "/.well-known/" ! # don't pass lets encrypt folder > ProxyPass "/" ajp://localhost:8010/ # pass root to tomcat server > should result in .well-known folder

[users@httpd] ProxyPass ! directive

2017-03-10 Thread Matthew Broadhead
Operating System: CentOS7 Operating System Version number: centos-release-7-3.1611.el7.centos.x86_64 Httpd Version: httpd-2.4.6-45.el7.centos.x86_64 Issue: Declaring the following directives in a virtual host ProxyPass "/.well-known/" ! # don't pass lets encrypt folder ProxyPass "/" aj

[users@httpd] Unsubscribe

2017-03-10 Thread Howard Davies
Please remove my E-mail address from your E-mail list Thank you

Re: [users@httpd] URG:DocumentRoot relate query on WIndows

2017-03-10 Thread Eric Covener
On Fri, Mar 10, 2017 at 8:25 AM, Ishan Thakur wrote: > “We are setting the documentRoot as “web”(no complete absolute path). This > works fine for all the paths. > The paths can be direct drive(D:\). But it fails only for C drive(C:\). The > same works fine for all other paths(D:\, C:\Program File

[users@httpd] URG:DocumentRoot relate query on WIndows

2017-03-10 Thread Ishan Thakur
Hi All, We areusing http-2.2.31 for our application on Windows.We arerunning our application as Local Service on Windows. The problem description is as follows: “We are setting the documentRoot as “web”(no complete absolute path). Thisworks fine for all the paths. The paths can be direct drive(D:

Re: [users@httpd] mod_lua and subprocess_env

2017-03-10 Thread Andrei Ivanov
On Tue, Mar 7, 2017 at 7:08 PM, Andrei Ivanov wrote: > On Mon, Mar 6, 2017 at 12:57 PM, Yann Ylavic wrote: > >> Hi Andrei, >> >> On Mon, Mar 6, 2017 at 10:15 AM, Andrei Ivanov >> wrote: >> >>> On Thu, Mar 2, 2017 at 12:40 PM, Andrei Ivanov >>> wrote: >>> On Tue, Feb 28, 2017 at 12:09 PM,