Re: [users@httpd] apache routing issue

2021-05-06 Thread emma davis
That was a serious  response I need to investigate before commenting in detail. Especially the last paragraph on proxy.I get that but I don't know the syntax. I just noticed another pattern from Apache.blue.ddns.net and brown.ddns.net are routed to .ddns.netbut not routed to www..org Whe

Re: [users@httpd] apache routing issue

2021-05-06 Thread Sander Smeenk
Quoting emma davis (emma.davi...@aol.com.INVALID): > It is a  domain name identification issue by Apache. > May be it a known issue. Apache has the concent of a 'default' virtual host. Any request to a domain not explicitly confiugred for that ip/port combo will be handled by the defaul virtual h

[users@httpd] apache routing issue

2021-05-06 Thread emma davis
Hi, I have identified an issue but I haven't  isolated it yet. I think I have, may be. I am going to  list the steps as I pin it down and post it them because I know there is an issue. It is a  domain name identification issue by Apache. May be it a known issue. Problem description: I had two m

Re: [users@httpd] Graceful shutoff of Apache without it being a service.

2021-05-06 Thread Eric Covener
On Thu, May 6, 2021 at 8:24 PM Talin Sharma wrote: > > Ok... > > Fine. Just one thing. Can I use apache as a service but run a script on a > computer startup that disables it, and then run a start/stop it again later? Even simpler IIUC -- Windows services can be set to "manual" such that they do

Re: [users@httpd] Graceful shutoff of Apache without it being a service.

2021-05-06 Thread Talin Sharma
Ok... Fine. Just one thing. Can I use apache as a service but run a script on a computer startup that disables it, and then run a start/stop it again later? Thanks! On Thu, May 6, 2021 at 6:37 PM Eric Covener wrote: > On Thu, May 6, 2021 at 2:51 PM Talin Sharma > wrote: > > > > Look at the su

Re: [users@httpd] Graceful shutoff of Apache without it being a service.

2021-05-06 Thread Eric Covener
On Thu, May 6, 2021 at 2:51 PM Talin Sharma wrote: > > Look at the subject. How do I do this? I don't think there's a supported way to gracefully stop as a non service. Running in the foreground in a terminal is basically just for debugging. https://httpd.apache.org/docs/2.4/platform/windows.htm

RE: [users@httpd] Re: Graceful shutoff of Apache without it being a service.

2021-05-06 Thread Bender, Charles
httpd.exe -k graceful will reload config without stopping Apache or dropping connections From: Talin Sharma Sent: Thursday, May 06, 2021 6:10 PM To: users@httpd.apache.org Subject: Re: [users@httpd] Re: Graceful shutoff of Apache without it being a service. These commands only work if apache i

Re: [users@httpd] Re: Graceful shutoff of Apache without it being a service.

2021-05-06 Thread Talin Sharma
These commands only work if apache is running as a service. I don't want this because apache would be running on my personal computer and I won't always be using it. Is this possible? What I want to do is make a c# script that turns apache on and off. I was able to turn it on but I cannot figure o

Re: [users@httpd] Re: showing default page

2021-05-06 Thread emma davis
ls /var/www/blue/ index.html I have updated  blue.conf with no change     ServerAdmin webmaster@localhost     DocumentRoot /var/www/blue     ServerName blue.ddns.net     DirectoryIndex index.html          ErrorLog ${APACHE_LOG_DIR}/error.log     CustomLog ${APACHE_LO

[users@httpd] Re: showing default page

2021-05-06 Thread 😉 Good Guy 😉
On 06/05/2021 22:09, emma davis wrote: Hi, For some reason my default home page is not being over riden. I am expecting /var/www/blue/index.html to be displayed what could be the cause of it ? this is  the /etc/apache2/sites-enabled $ sudo cat blue.conf     ServerAdmin webmaster@localhost  

[users@httpd] Re: Graceful shutoff of Apache without it being a service.

2021-05-06 Thread 😉 Good Guy 😉
On 06/05/2021 19:50, Talin Sharma wrote: Look at the subject. How do I do this? I am on windows 10. Thanks! httpd -k stop or httpd -k shutdown If you need general help about httpd then just type: httpd -h This will give you all the essential commands to control apache. Good luck. --

[users@httpd] showing default page

2021-05-06 Thread emma davis
Hi, For some reason my default home page is not being over riden. I am expecting /var/www/blue/index.html to be displayed what could be the cause of it ? this is  the /etc/apache2/sites-enabled $ sudo cat blue.conf     ServerAdmin webmaster@localhost     DocumentRoot /var/www/blue     Ser

Re: [users@httpd] Graceful shutoff of Apache without it being a service.

2021-05-06 Thread Talin Sharma
Yeah. That doesn't work... I get : "[Thu May 06 17:07:02.908073 2021] [mpm_winnt:error] [pid 788:tid 404] (OS 2)The system cannot find the file specified. : AH00436: No installed service named "Apache2.4"." On Thu, May 6, 2021 at 2:57 PM wrote: > Am not sure but it looks like you could use >

RE: [users@httpd] Graceful shutoff of Apache without it being a service.

2021-05-06 Thread paul.leo
Am not sure but it looks like you could use httpd.exe -k stop from the bin directory I usually run as a service, but httpd -h gives list of commands From: Talin Sharma Sent: Thursday, May 6, 2021 12:51 PM To: users@httpd.apache.org Subject: [users@httpd] Graceful shutoff of Apache without

[users@httpd] Graceful shutoff of Apache without it being a service.

2021-05-06 Thread Talin Sharma
Look at the subject. How do I do this? I am on windows 10. Thanks!

Re: [users@httpd] Intermittent "'www-browser --dump http://localhost:80/server-status' failed" errors generated by "apachectl status"

2021-05-06 Thread Steve Dondley
However, I can't find this script anywhere on my Debian Buster install. How do I get and install this script? https://packages.debian.org/search?mode=filename&searchon=contents&keywords=log_server_status Looks like you need to install apache2-doc Thanks but the documentation package doesn

Re: [users@httpd] Intermittent "'www-browser --dump http://localhost:80/server-status' failed" errors generated by "apachectl status"

2021-05-06 Thread Antony Stone
On Thursday 06 May 2021 at 16:38:47, Steve Dondley wrote: > Maybe I'd be better off using the right tool for the job which appears > to be this perl script: > http://httpd.apache.org/docs/2.4/programs/log_server_status.html > > However, I can't find this script anywhere on my Debian Buster instal

Re: [users@httpd] Intermittent "'www-browser --dump http://localhost:80/server-status' failed" errors generated by "apachectl status"

2021-05-06 Thread Steve Dondley
On 2021-05-06 10:37 AM, Nick Folino wrote: > Did the report run fine? or was the error tacked on to the end of the file > that already contained a good run of the report? Yes, the report runs/outputs just fine and looks just like the other reports except it's got that error gets tacked on to th

Re: [users@httpd] Intermittent "'www-browser --dump http://localhost:80/server-status' failed" errors generated by "apachectl status"

2021-05-06 Thread Steve Dondley
Maybe I'd be better off using the right tool for the job which appears to be this perl script: http://httpd.apache.org/docs/2.4/programs/log_server_status.html However, I can't find this script anywhere on my Debian Buster install. How do I get and install this script? On 2021-05-06 09:53 AM

Re: [users@httpd] Intermittent "'www-browser --dump http://localhost:80/server-status' failed" errors generated by "apachectl status"

2021-05-06 Thread Nick Folino
Did the report run fine? or was the error tacked on to the end of the file that already contained a good run of the report? On Thu, May 6, 2021 at 10:20 AM Steve Dondley wrote: > On 2021-05-06 10:13 AM, Steve Dondley wrote: > > On 2021-05-06 10:08 AM, Paul Leo wrote: > > Maybe change environmen

Re: [users@httpd] Intermittent "'www-browser --dump http://localhost:80/server-status' failed" errors generated by "apachectl status"

2021-05-06 Thread Eric Covener
> The error can occur when running "apachectl status" directly from the command > line. Is the "apachectl" command is part of the apache project: > > https://httpd.apache.org/docs/2.4/programs/apachectl.html Yes,it's a shell script that calls an external command-line HTTP client. No sign it calle

Re: [users@httpd] Intermittent "'www-browser --dump http://localhost:80/server-status' failed" errors generated by "apachectl status"

2021-05-06 Thread Steve Dondley
On 2021-05-06 10:13 AM, Steve Dondley wrote: > On 2021-05-06 10:08 AM, Paul Leo wrote: > >> Maybe change environment variable to include full path to www-browser? >> But this doesn't explain intermittent nature What's also confusing is that the report gets generated just fine but there is still

Re: [users@httpd] Intermittent "'www-browser --dump http://localhost:80/server-status' failed" errors generated by "apachectl status"

2021-05-06 Thread Steve Dondley
On 2021-05-06 10:08 AM, Paul Leo wrote: > Maybe change environment variable to include full path to www-browser? > But this doesn't explain intermittent nature I should have mentioned that I have the apache config set up to non-http traffic to https. I'm wondering if somehow port 443 gets blocke

Re: [users@httpd] Intermittent "'www-browser --dump http://localhost:80/server-status' failed" errors generated by "apachectl status"

2021-05-06 Thread Steve Dondley
On 2021-05-06 09:59 AM, Nick Folino wrote: > That appears to be generated by your OS, not the Apache httpd server. The error can occur when running "apachectl status" directly from the command line. Is the "apachectl" command is part of the apache project: https://httpd.apache.org/docs/2.4/prog

Re: [users@httpd] Intermittent "'www-browser --dump http://localhost:80/server-status' failed" errors generated by "apachectl status"

2021-05-06 Thread Paul Leo
Maybe change environment variable to include full path to www-browser? But this doesn’t explain intermittent nature > On May 6, 2021, at 8:00 AM, Nick Folino wrote: > >  > That appears to be generated by your OS, not the Apache httpd server. > >> On Thu, May 6, 2021 at 9:53 AM Steve Dondley

Re: [users@httpd] Intermittent "'www-browser --dump http://localhost:80/server-status' failed" errors generated by "apachectl status"

2021-05-06 Thread Nick Folino
That appears to be generated by your OS, not the Apache httpd server. On Thu, May 6, 2021 at 9:53 AM Steve Dondley wrote: > I have a script, triggered by cron, that runs every minute that checks > the status of the localhost's server: > > my $status = `sudo apachectl status 2>&1`; > > After a fr

[users@httpd] Intermittent "'www-browser --dump http://localhost:80/server-status' failed" errors generated by "apachectl status"

2021-05-06 Thread Steve Dondley
I have a script, triggered by cron, that runs every minute that checks the status of the localhost's server: my $status = `sudo apachectl status 2>&1`; After a freshly restarted apaceh2 daemon, the script works fine and the contents of $status get written to a file. But after several minutes

Re: [users@httpd] man pages helper utilities

2021-05-06 Thread Nick Kew
> On 5 May 2021, at 18:55, Eric Covener wrote: > > On Wed, May 5, 2021 at 1:41 PM patrice molinchaeux > wrote: >> >> Hi, >> >> I am looking to follow these instruction so as to make use of the helper >> utilities. >> > > These are utilities added by Debian/Ubuntu. You shouldn't see them

[users@httpd] in memory

2021-05-06 Thread patrice molinchaeux
In memory of our fallen hero. https://backbutton.org/ https://backbtn.ddns.net/   2-3 minutes  SSL secure https://www.digitalocean.com/community/tutorials/how-to-secure-apache-with-let-s-encrypt-on-ubuntu-20-04   Choosing the right product will save you alot of time in the end.   -