Re: [users@httpd] Render custom status to both browser and REST API Client

2023-02-25 Thread Antony Stone
On Saturday 25 February 2023 at 11:43:17, Kaushal Shriyan wrote: > Hi, > > Is there a way to configure apache httpd 2.4.55 as per the below flow when > the below conditions occurs > > User -> Apache Web Server -> PHP-FPM Upstream server -> MySQL DB > > *Condition 1 when MySQL DB is down* >

Re: [users@httpd] Render custom status to both browser and REST API Client

2023-02-25 Thread Antony Stone
On Saturday 25 February 2023 at 11:43:17, Kaushal Shriyan wrote: > Hi, > > Is there a way to configure apache httpd 2.4.55 as per the below flow when > the below conditions occurs > > User -> Apache Web Server -> PHP-FPM Upstream server -> MySQL DB > > *Condition 1 when MySQL DB is down* >

[users@httpd] Render custom status to both browser and REST API Client

2023-02-25 Thread Kaushal Shriyan
Hi, Is there a way to configure apache httpd 2.4.55 as per the below flow when the below conditions occurs User -> Apache Web Server -> PHP-FPM Upstream server -> MySQL DB *Condition 1 when MySQL DB is down* When MySQL DB is down, httpd to render JSON output when invoking