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

2022-07-07 Thread Marcello Lorenzi
y save" from localhost Content-Type: application/json Regards, Marcello On Thu, Jul 7, 2022 at 1:58 PM Eric Covener wrote: > On Thu, Jul 7, 2022 at 7:41 AM Marcello Lorenzi wrote: > > > > Hi Eric, > > thanks for the response. The responses headers are: > > > > H

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

2022-07-07 Thread Marcello Lorenzi
2022 at 1:15 PM Eric Covener wrote: > 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 > cac

[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

[users@httpd] Require IP range issue Apache 2.4

2015-02-06 Thread Marcello Lorenzi
Hi All, I experienced a strange issue on Apache 2.4.3 installed on a CentOS server. To deny the access to a internal page I put this configuration : Require all denied Require ip xxx.xxx.xxx This configuration has to permit the access from an external IP range but it's not working.

Re: [users@httpd] Configure remote php-fpm server with SetHandler

2015-01-28 Thread Marcello Lorenzi
Try with this: ... ProxyPassMatch ^/(.*\.php(/.*)?)$ fcgi://127.0.0.1:9000/mnt/app/test/$1 ... On 01/28/2015 09:26 PM, Santiago DIEZ wrote: Hi there, I have an /*httpd-2.4.10*/ server (ip 5.39.81.177:80 ) with htdocs files located in _/var/www/_. I have a

Re: [users@httpd] Allow access only from the index page

2014-02-24 Thread Marcello Lorenzi
Hi Fabio, you can use mod_rewrite using the |HTTP_REFERER |to check if the request arrive from index page. Marcello On 02/24/2014 05:31 PM, fabio.schm...@4linux.com.br wrote: Hi ! I need to ensure that all pages on my website are only avaliable if the access come from the index page. For in

Re: [users@httpd] R: RE: [users@httpd] Rewrite all to DocRoot

2014-02-22 Thread Marcello Lorenzi
, at 8:06 pm, "CWSSupport - Marcello Lorenzi" wrote: Hi Darren, You can try to implement it with rewrite rules or rewrite map. Did you already try with mod_rewrite? -Original Message- From: "Darren Ward (darrward)" Date: Sat, 22 Feb 2014 08:33:21 To: users@httpd.apache

[users@httpd] R: RE: [users@httpd] Rewrite all to DocRoot

2014-02-22 Thread CWSSupport - Marcello Lorenzi
Hi Darren, You can try to implement it with rewrite rules or rewrite map. Did you already try with mod_rewrite? -Original Message- From: "Darren Ward (darrward)" Date: Sat, 22 Feb 2014 08:33:21 To: users@httpd.apache.org Reply-to: users@httpd.apache.org Subject: RE: [users@httpd] Rewrite

[users@httpd] IF directive and IP addresses

2013-11-14 Thread Marcello Lorenzi
Hi, I'm trying to use the new If directive present from Apache 2.4, to configure an htacces based authentication for a specific Location based to the client IP address. If a client hasn't an IP address related to the internal VLAN, I would set the password access. What is the correct syntax t

Re: [users@httpd] mod_proxy doesn't persist connections to php-fpm

2013-11-14 Thread Marcello Lorenzi
HI Dean it's normal that the ProxyPass open a lots of connection to php-fpm instance. The same behavior can be noticed with Nginx, and in same case some people suggest to use the UNIX socket to open the connections to PHP-FPM, but you have to test the performances. You can tune the kernel par