[users@httpd] Logging issue piped logs vs file

2023-10-11 Thread Pedro Coelho Silva
Hello I think I have discovered a bug, where using a log file vs using a pipe command will not log the exact same messages. System: Server version: Apache/2.4.56 (Unix) Server built: Jul 10 2023 10:58:41 root@ns-pedros# uname -a FreeBSD ns-pedros 11.4-NETSCALER-13.1 FreeBSD 11.4-NETSCALER-13.1

Re: [users@httpd] Logging issue

2021-04-25 Thread o1bigtenor
On Sun, Apr 25, 2021 at 6:30 PM H wrote: > > On 04/25/2021 06:39 PM, o1bigtenor wrote: > > On Sun, Apr 25, 2021 at 5:34 PM H wrote: > >> On 04/22/2021 08:24 PM, H wrote: > >>> On 04/22/2021 06:02 PM, Richard wrote: > > Date: Thursday, April 22, 2021 16:53:56 -0400 > > From: H > > >

Re: [users@httpd] Logging issue

2021-04-25 Thread H
On 04/25/2021 06:39 PM, o1bigtenor wrote: > On Sun, Apr 25, 2021 at 5:34 PM H wrote: >> On 04/22/2021 08:24 PM, H wrote: >>> On 04/22/2021 06:02 PM, Richard wrote: > Date: Thursday, April 22, 2021 16:53:56 -0400 > From: H > > I read on one webpage that the locations (ie app1,

Re: [users@httpd] Logging issue

2021-04-25 Thread o1bigtenor
On Sun, Apr 25, 2021 at 5:34 PM H wrote: > > On 04/22/2021 08:24 PM, H wrote: > > On 04/22/2021 06:02 PM, Richard wrote: > >>> Date: Thursday, April 22, 2021 16:53:56 -0400 > >>> From: H > >>> > >>> I read on one webpage that the locations (ie app1, app2 etc) have > >>> to have their own A

Re: [users@httpd] Logging issue

2021-04-25 Thread H
On 04/22/2021 08:24 PM, H wrote: > On 04/22/2021 06:02 PM, Richard wrote: >>> Date: Thursday, April 22, 2021 16:53:56 -0400 >>> From: H >>> >>> I read on one webpage that the locations (ie app1, app2 etc) have >>> to have their own A records. Does that mean that I need to have >>>

RE: [users@httpd] Logging issue

2021-04-23 Thread paul.leo
Thanks -Original Message- From: Antony Stone Sent: Friday, April 23, 2021 10:25 AM To: users@httpd.apache.org Subject: Re: [users@httpd] Logging issue On Friday 23 April 2021 at 18:01:58, paul@stgconsulting.com wrote: > Quick question re: DNS. Can CNAMEs be used, or can they o

Re: [users@httpd] Logging issue

2021-04-23 Thread Antony Stone
record, or similar, then you cannot use a CNAME. Antony. > -Original Message- > From: Richard > Sent: Thursday, April 22, 2021 6:51 PM > To: users@httpd.apache.org > Subject: Re: [users@httpd] Logging issue > > > Date: Thursday, April 22, 2021 20:24:02 -0400 > >

RE: [users@httpd] Logging issue

2021-04-23 Thread paul.leo
Quick question re: DNS. Can CNAMEs be used, or can they only be A records? (Assuming each sub-domain is on same IP address as domain. -Original Message- From: Richard Sent: Thursday, April 22, 2021 6:51 PM To: users@httpd.apache.org Subject: Re: [users@httpd] Logging issue > D

Re: [users@httpd] Logging issue

2021-04-22 Thread Richard
> Date: Thursday, April 22, 2021 20:24:02 -0400 > From: H > > On 04/22/2021 06:02 PM, Richard wrote: >>> Date: Thursday, April 22, 2021 16:53:56 -0400 >>> From: H >>> >>> I read on one webpage that the locations (ie app1, app2 etc) have >>> to have their own A records. Does that mean that I

Re: [users@httpd] Logging issue

2021-04-22 Thread H
On 04/22/2021 06:02 PM, Richard wrote: >> Date: Thursday, April 22, 2021 16:53:56 -0400 >> From: H >> >> I read on one webpage that the locations (ie app1, app2 etc) have >> to have their own A records. Does that mean that I need to have >> app1.mydomain.com, app2.mydomain.com etc. registered

Re: [users@httpd] Logging issue

2021-04-22 Thread Richard
> Date: Thursday, April 22, 2021 16:53:56 -0400 > From: H > > I read on one webpage that the locations (ie app1, app2 etc) have > to have their own A records. Does that mean that I need to have > app1.mydomain.com, app2.mydomain.com etc. registered individually > with my domain registrar for

Re: [users@httpd] Logging issue

2021-04-22 Thread H
On 04/18/2021 12:14 PM, Richard wrote: >> Date: Saturday, April 17, 2021 20:14:02 -0400 >> From: H >> >> My ultimate goal is to be able to run different php apps each >> potentially requiring its unique php version using php-fpm. I would >> also like so separate access and error logs by app, ie

Re: [users@httpd] Logging issue

2021-04-22 Thread H
On 04/20/2021 09:06 AM, Daniel Ferradal wrote: > I'm intrigued but maybe it was said but I missed it. > > You say you can´t do: "aaa.bbb.ccc.ddd/app1, aaa.bbb.ccc.ddd/app2¨ > > Well, you can, but in the same virtualhost, and you can even point to > multiple fpm pools for each > > Did you try

Re: [users@httpd] Logging issue

2021-04-20 Thread Daniel Ferradal
I'm intrigued but maybe it was said but I missed it. You say you can´t do: "aaa.bbb.ccc.ddd/app1, aaa.bbb.ccc.ddd/app2¨ Well, you can, but in the same virtualhost, and you can even point to multiple fpm pools for each Did you try something like this? : Servername ip # no paths here just the

Re: [users@httpd] Logging issue

2021-04-18 Thread H
On 04/18/2021 12:14 PM, Richard wrote: >> Date: Saturday, April 17, 2021 20:14:02 -0400 >> From: H >> >> My ultimate goal is to be able to run different php apps each >> potentially requiring its unique php version using php-fpm. I would >> also like so separate access and error logs by app, ie

Re: [users@httpd] Logging issue

2021-04-18 Thread Richard
> Date: Saturday, April 17, 2021 20:14:02 -0400 > From: H > > My ultimate goal is to be able to run different php apps each > potentially requiring its unique php version using php-fpm. I would > also like so separate access and error logs by app, ie > app1-access.log, app2-access.log etc.

Re: [users@httpd] Logging issue

2021-04-17 Thread H
On 04/17/2021 06:09 PM, Eric Covener wrote: >> Yes, I (believe) I understand and find many examples how to configure >> virtual name hosts when you have a domain name. BUT, I have yet to find any >> examples where this works with /one/ single IP address rather than a domain >> name. > This is

Re: [users@httpd] Logging issue

2021-04-17 Thread Richard
> Date: Saturday, April 17, 2021 17:37:43 -0400 > From: H > > Yes, I (believe) I understand and find many examples how to > configure virtual name hosts when you have a domain name. BUT, I > have yet to find any examples where this works with /one/ single IP > address rather than a domain

Re: [users@httpd] Logging issue

2021-04-17 Thread Eric Covener
> Yes, I (believe) I understand and find many examples how to configure virtual > name hosts when you have a domain name. BUT, I have yet to find any examples > where this works with /one/ single IP address rather than a domain name. This is because it's not applicable. The feature you're

Re: [users@httpd] Logging issue

2021-04-17 Thread H
On 04/17/2021 03:59 PM, Daniel Ferradal wrote: > You are supposed to define ServerName with its specific name in each > Virtualhost, once there you define customlog and errorlog in each > virtualhost, then you have log for each virtualhost in every case. > > If this is not what happens chances are

Re: [users@httpd] Logging issue

2021-04-17 Thread Daniel Ferradal
You are supposed to define ServerName with its specific name in each Virtualhost, once there you define customlog and errorlog in each virtualhost, then you have log for each virtualhost in every case. If this is not what happens chances are you have a virtualhost somewhere, with a greedy

Re: [users@httpd] Logging issue

2021-04-17 Thread angel Hall-Coulston
1) My previous answer to use MAMP was to a different person and problem, not yours. 2) Yes you’re quite correct, this IS a user support mailing list, BUT NOT A HELP DESK ! 3) With DUE respect I am ONE GUY with little time to be providing free WORK to LARGE companies with employed sysadmins who

Re: [users@httpd] Logging issue

2021-04-17 Thread H
On April 17, 2021 8:57:22 AM EDT, angel Hall-Coulston wrote: >With due respect, please STOP abusing the mailing list and using it >like a 'chat room'. Please RTM as it’s all a bit lazy otherwise. > >> On 17 Apr 2021, at 01:57, H wrote: >> >> On 04/16/2021 08:51 PM, H wrote: >>> On 04/16/2021

Re: [users@httpd] Logging issue

2021-04-17 Thread angel Hall-Coulston
With due respect, please STOP abusing the mailing list and using it like a 'chat room'. Please RTM as it’s all a bit lazy otherwise. > On 17 Apr 2021, at 01:57, H wrote: > > On 04/16/2021 08:51 PM, H wrote: >> On 04/16/2021 08:23 PM, Jonathon Koyle wrote: The OP, ie me, just read up on

Re: [users@httpd] Logging issue

2021-04-16 Thread H
On 04/16/2021 08:51 PM, H wrote: > On 04/16/2021 08:23 PM, Jonathon Koyle wrote: >>> The OP, ie me, just read up on virtual host configuration. I now understand >>> that it is not possible to have site1.conf and site2.conf as in my first >>> e-mail where I wanted to access the different sites

Re: [users@httpd] Logging issue

2021-04-16 Thread H
On 04/16/2021 08:23 PM, Jonathon Koyle wrote: >> The OP, ie me, just read up on virtual host configuration. I now understand >> that it is not possible to have site1.conf and site2.conf as in my first >> e-mail where I wanted to access the different sites using 1.2.3.4/site1 and >>

Re: [users@httpd] Logging issue

2021-04-16 Thread Jonathon Koyle
> The OP, ie me, just read up on virtual host configuration. I now understand > that it is not possible to have site1.conf and site2.conf as in my first > e-mail where I wanted to access the different sites using 1.2.3.4/site1 and > 1.2.3.4/site2 etc. > > My reading suggests that instead

Re: [users@httpd] Logging issue

2021-04-16 Thread H
On 04/15/2021 11:00 PM, Richard wrote: > >> Date: Thursday, April 15, 2021 20:46:56 -0600 >> From: Jonathon Koyle >> >> I'm not sure, but my understanding is that of you have multiple >> virtual hosts on one machine, and they all listen on the same >> interfaces/ip addresses then they have to

Re: [users@httpd] Logging issue

2021-04-15 Thread Richard
> Date: Thursday, April 15, 2021 20:46:56 -0600 > From: Jonathon Koyle > > I'm not sure, but my understanding is that of you have multiple > virtual hosts on one machine, and they all listen on the same > interfaces/ip addresses then they have to have unique ServerName > directive. If you

Re: [users@httpd] Logging issue

2021-04-15 Thread Jonathon Koyle
I'm not sure, but my understanding is that of you have multiple virtual hosts on one machine, and they all listen on the same interfaces/ip addresses then they have to have unique ServerName directive. If you have duplicates, they will all be served by the first virtual host, with a matching

Re: [users@httpd] Logging issue

2021-04-15 Thread H
On 04/15/2021 08:50 PM, Jonathon Koyle wrote: > Is / valid in a ServerName directive?  I thought it only included scheme, > host, and port? I see. I just checked and that seems to be correct, ie my approach does not work. I should go back to along what Dino suggested for another problem I have.

Re: [users@httpd] Logging issue

2021-04-15 Thread Jonathon Koyle
Is / valid in a ServerName directive? I thought it only included scheme, host, and port?

[users@httpd] Logging issue

2021-04-15 Thread H
I have an issue where access messages and error messages are not logged to individual logs on a server hosting multiple public subdomains, eg 1.2.3.4/site1 and 1.2.3.4/site2, instead they end up in a central log. I would like to change the logging to files specific to each subdomain. This is a