Re: [users@httpd] NameVirtualHost fails

2022-07-07 Thread Daniel Ferradal
Yes, and that config is a good compendium of bad advice and deprecated directives. El mié, 6 jul 2022 14:28, Frank Gingras escribió: > Paul, > > Not sure how your example helps with the OP issue at all. > > On Wed, 6 Jul 2022 at 06:40, Paul Kudla (SCOM.CA Internet Services Inc.) < > p...@scom.c

[users@httpd] Apache 2.4 : issue caching mod_cache

2022-07-07 Thread Marcello Lorenzi
Hi All, we tried to configure mod_cache on a Apache HTTPD 2.4 instance but we noticed that a elements hasn't been served from the cache because we have cache miss message like: 127.0.0.1164 [07/Jul/2022:11:17:54 +0200] 27320 "GET /files/json/test.json HTTP/1.1" 200 13479 cache miss: attempting ent

Re: [users@httpd] Apache 2.4 : issue caching mod_cache

2022-07-07 Thread Eric Covener
On Thu, Jul 7, 2022 at 5:27 AM Marcello Lorenzi wrote: > > Hi All, > we tried to configure mod_cache on a Apache HTTPD 2.4 instance but we noticed > that a elements hasn't been served from the cache because we have cache miss > message like: > > 127.0.0.1164 [07/Jul/2022:11:17:54 +0200] 27320 "G

Re: [users@httpd] Apache 2.4 : issue caching mod_cache

2022-07-07 Thread Marcello Lorenzi
Hi Eric, thanks for the response. The responses headers are: HTTP/1.1 200 OK Date: Thu, 07 Jul 2022 11:39:41 GMT Server: Apache Strict-Transport-Security: max-age=16070400; includeSubDomains; preload X-Xss-Protection: 1; mode=block X-Content-Type-Options: nosniff Vary: Cookie,Accept-Encoding Last-

Re: [users@httpd] Apache 2.4 : issue caching mod_cache

2022-07-07 Thread Eric Covener
On Thu, Jul 7, 2022 at 7:41 AM Marcello Lorenzi wrote: > > Hi Eric, > thanks for the response. The responses headers are: > > HTTP/1.1 200 OK > Date: Thu, 07 Jul 2022 11:39:41 GMT > Server: Apache > Strict-Transport-Security: max-age=16070400; includeSubDomains; preload > X-Xss-Protection: 1; mode

Re: [users@httpd] Apache 2.4 : issue caching mod_cache

2022-07-07 Thread Marcello Lorenzi
Hi Eric, I checked the configuration to verify if cookie or set-cookie headers are excluded and this is the actual configuration: CacheIgnoreCacheControl On CacheIgnoreQueryString Off CacheIgnoreURLSessionIdentifiers _ CacheIgnoreHeaders Set-Cookie Cookie CacheDefaultExpire 60 CacheMa

Re: [users@httpd] Apache 2.4 and php

2022-07-07 Thread Frank Gingras
Paul, You should respond to the list, so that other folks can benefit from the answers. Now, you embedded php code in .html files, which is a very bad idea, as you now have to use the php module to parse every single html file. I recommend that you not do that. On Wed, 6 Jul 2022 at 21:34, Frank

Re: [users@httpd] Apache 2.4 and php

2022-07-07 Thread Stormy-SDLU
On 2022-07-06 21:34, Frank Gingras wrote: Paul, httpd does not call php includes, period. This is processed by php alone. Frank, thanks, perhaps my poor choice of words. I had this in mind: paul@sandbox:/etc/apache2/mods-enabled$ cat php7.4.load # Conflicts: php5 # Depends: mpm_prefork LoadMo

Re: [users@httpd] Apache 2.4 and php

2022-07-07 Thread David Copeland
Does it work if you rename index.html to index.php ? On 2022-07-07 13:05, Stormy-SDLU wrote: > On 2022-07-06 21:34, Frank Gingras wrote: >> Paul, >> >> httpd does not call php includes, period. This is processed by php >> alone. > > Frank, thanks, perhaps my poor choice of words. I had this in mi

Re: [users@httpd] Apache 2.4 and php

2022-07-07 Thread Eric Covener
On Thu, Jul 7, 2022 at 1:06 PM Stormy-SDLU wrote: > > On 2022-07-06 21:34, Frank Gingras wrote: > > Paul, > > > > httpd does not call php includes, period. This is processed by php alone. > > Frank, thanks, perhaps my poor choice of words. I had this in mind: > > paul@sandbox:/etc/apache2/mods-ena