[users@httpd] Re: Update HTML files every 1 sec by getting info from another application.

2017-03-28 Thread Jonesy
On Tue, 28 Mar 2017 09:23:47 -0400, Mark H. Wood wrote: > On Mon, Mar 27, 2017 at 10:36:59PM +0300, Zvi Vered wrote: >> My target is an embedded PC which runs windows \ linux. >> The target contains HTML pages that are displayed in the host using httpd. >>=20 >> The problem: The data in the HTML pa

Re: [users@httpd] httpd object file

2017-03-28 Thread Eric Covener
On Tue, Mar 28, 2017 at 2:27 AM, Hemant Chaudhary wrote: > I ported httpd-2.4.23 on ubantu. I want libhttpd.a or libhttpd.so. But I am > getting only executable httpd. > Can you please help me to locate libhttpd or how to create libhttpd.a or > libhttpd.so. Even I am not able to figure out httpd.o

Re: [users@httpd] why strict_hostname_check treats '+' invalid character

2017-03-28 Thread Eric Covener
On Tue, Mar 28, 2017 at 11:52 AM, 建民郭 wrote: > Is it based on RFC or any other document? 1. A "name" (Net, Host, Gateway, or Domain name) is a text string up to 24 characters drawn from the alphabet (A-Z), digits (0-9), minus sign (-), and period (.). https://tools.ietf.org/html/rfc952

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

2017-03-28 Thread John Iliffe
First, my sincere thanks to all the folks who responded so fast to my problem. I have it fixed, I think. Testing so far seems to work as expected. The problem is that when "systemctl enable" generates the new unit file (httpd.service) it didn't get it quite right. For one thing, it dropped

[users@httpd] why strict_hostname_check treats '+' invalid character

2017-03-28 Thread 建民郭
In apache 2.4.25, there has a new function in vhost.c, strict_hostname_check https://github.com/apache/httpd/blob/639df4136b46642cdfdc390b34e446 501597abba/server/vhost.c#L754 I current get 400 response, if send a request likes the following: http://abc+def:8088/test/auth.cgi Base on log, '+' is n

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

2017-03-28 Thread 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 error. The >> idea is to prevent exposing privileged i

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

2017-03-28 Thread Kartik Vashishta
another link: https://blacksaildivision.com/how-to-install-apache-on-centos On Tue, Mar 28, 2017 at 9:41 AM, Mitchell Krog Photography < mitchellk...@gmail.com> wrote: > What does > > sudo systemctl edit --full httpd > > show you ??? > > > > > From: John Iliffe > Reply: users@httpd.apache.org

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

2017-03-28 Thread John Iliffe
See below. One thing I notice is that the pid file path is in here too. It could be that when I changed the path in the init.d file this one stayed; I'll check that now. Also, looking at the reply from Kartik Vashishta; I notice a number of areas where there seems to be some incompatibility b

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

2017-03-28 Thread Mitchell Krog Photography
What does sudo systemctl edit --full httpd show you ??? From: John Iliffe Reply: users@httpd.apache.org Date: 28 March 2017 at 4:35:52 PM To: users@httpd.apache.org Subject: Re: [users@httpd] Run Control for Apache in Fedora 25 Thank you Mickey. That is exactly what the problem is; a

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

2017-03-28 Thread Kartik Vashishta
Maybe this will help: http://stackoverflow.com/questions/32977557/how-do-i-compile-apache-httpd-2-4-16-with-systemd-support On Tue, Mar 28, 2017 at 9:35 AM, John Iliffe wrote: > Thank you Mickey. > > That is exactly what the problem is; all /var/run subdirectories get > deleted on reboot. > > I

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

2017-03-28 Thread John Iliffe
Thank you Mickey. That is exactly what the problem is; all /var/run subdirectories get deleted on reboot. I tried to move the pid file to another location, for a start its default location under the apache install directory, but even directly on /var/run/, with the result that systemctl could

Re: [users@httpd] Update HTML files every 1 sec by getting info from another application.

2017-03-28 Thread Mark H. Wood
On Mon, Mar 27, 2017 at 10:36:59PM +0300, Zvi Vered wrote: > My target is an embedded PC which runs windows \ linux. > The target contains HTML pages that are displayed in the host using httpd. > > The problem: The data in the HTML pages is updated (every 1 sec) by > another application that runs

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

2017-03-28 Thread Mickey Nordstrom
Hi John, I didn't read your full post so apologies if I'm not answering your question. I have had similar problems on SuSE Linux whith systemd and the solution was to create a file under /etc/tmpfiles.d with content something like this: d /var/run/httpd 770 webservd webservd Modify it to the us