Re: [users@httpd] httpd object file

2017-03-29 Thread Hemant Chaudhary
Hi, My ubantu is creating only .a and .la of apache modules. I am converting .a of modules to .so , so that I can load modules. But while converting I am getting unresolved reference to apache functions. This is the reason I need libhttpd, so that I can link libhttpd while converting and solve the

Re: [users@httpd] using tee to feed logs to executable

2017-03-29 Thread Milind Vaidya
it does not restart apache it just copytruncates erro_log file. On Wed, Mar 29, 2017 at 6:19 PM, Eric Covener wrote: > On Wed, Mar 29, 2017 at 9:16 PM, Milind Vaidya wrote: > > But will it be same instance of the program or separate one ? > > A second process. > > > > > I mean one consuming err

Re: [users@httpd] using tee to feed logs to executable

2017-03-29 Thread Eric Covener
On Wed, Mar 29, 2017 at 9:16 PM, Milind Vaidya wrote: > But will it be same instance of the program or separate one ? A second process. > > I mean one consuming error_log and another consuming ssl_error_log ? One each > > also I am terminating the consumer once EOF is received. But it does not

Re: [users@httpd] using tee to feed logs to executable

2017-03-29 Thread Milind Vaidya
Thanks. Let me try it. But will it be same instance of the program or separate one ? I mean one consuming error_log and another consuming ssl_error_log ? also I am terminating the consumer once EOF is received. But it does not look like it starts every hour when the logrotate rotates error_log.

Re: [users@httpd] using tee to feed logs to executable

2017-03-29 Thread Eric Covener
On Wed, Mar 29, 2017 at 8:46 PM, Milind Vaidya wrote: > I also want the same program to consume ssl_error_log. Is it possible to do > that using similar syntax ? Of course. - To unsubscribe, e-mail: users-unsubscr...@httpd.apac

Re: [users@httpd] What is preferred PHP interface?

2017-03-29 Thread John Iliffe
Thank you for that very fast response Yehuda. Surprised that the PHP docs don't seem to have anything equivalent to that Wiki. Regards, John = On Wednesday 29 March 2017 20:47:22 Yehuda Katz wrote: > The Apache wiki has a rundown of options: > https://wiki.ap

Re: [users@httpd] What is preferred PHP interface?

2017-03-29 Thread Yehuda Katz
The Apache wiki has a rundown of options: https://wiki.apache.org/httpd/php Plenty of people still use mod_php and it has been updated to work with HTTPD 2.4 and PHP 7. - Y On Wed, Mar 29, 2017 at 8:49 PM, John Iliffe wrote: > Reading several sources there is conflicting information as to what

[users@httpd] using tee to feed logs to executable

2017-03-29 Thread Milind Vaidya
Hi I am using *ErrorLog* *"| /usr/bin/tee -a /var/log/httpd/error_log | java logconsumer"* I also want the same program to consume ssl_error_log. Is it possible to do that using similar syntax ?

[users@httpd] What is preferred PHP interface?

2017-03-29 Thread John Iliffe
Reading several sources there is conflicting information as to what is the preferred way to implement PHP scripts. It appears that mod_php (how we do things now) is deprecated so I would like to take advantage of a server change to do things "right". The documentation on mod_fcgid seems to sto

Re: [users@httpd] Problem when using nested if statements in apache 2.4

2017-03-29 Thread Luca Toscano
2017-03-28 17:28 GMT+02:00 Luca Toscano : > > > 2017-02-21 18:45 GMT+01:00 Luca Toscano : > >> Hi Mike, >> >> 2017-02-20 18:17 GMT+01:00 Mike Schlottman : >> >>> I’m trying to configure apache 2.4 to show nice error pages to external >>> users of our web site, while allowing staff to see the real

Re: [users@httpd] Run Control for Apache in Fedora 25

2017-03-29 Thread Mitchell Krog Photography
Brilliant, so glad you got it sorted :) Cheers Mitch From: John Iliffe Reply: users@httpd.apache.org Date: 28 March 2017 at 6:08:33 PM To: users@httpd.apache.org Subject: Re: [users@httpd] Run Control for Apache in Fedora 25 First, my sincere thanks to all the folks who responded so fas

Re: [users@httpd] mod_lua and subprocess_env

2017-03-29 Thread Andrei Ivanov
On Thu, Mar 23, 2017 at 3:52 PM, Andrei Ivanov wrote: > On Wed, Mar 22, 2017 at 5:08 PM, Yann Ylavic wrote: > >> On Wed, Mar 22, 2017 at 3:45 PM, Andrei Ivanov >> wrote: >> > On Wed, Mar 22, 2017 at 3:53 PM, Andrei Ivanov > > >> > wrote: >> > >> > Argh! You've sent more emails but Gmail receive