Author Topic: Apache stops working after a while?  (Read 1028 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Apache stops working after a while?
« on: July 26, 2023, 08:44:36 PM »
I use it for my PHP website, which connects to an external MSSQL database. My problem is that when I haven't accessed my website for a while, it stops working. However, when I log in to the CWP control panel, it starts working again. This issue only occurs when the firewall is active.

Does anyone know how to solve this?
Thank you.

Offline
*****
Re: Apache stops working after a while?
« Reply #1 on: July 27, 2023, 01:08:07 AM »
Does it actually stop working, or is your access to it prevented by the firewall? Have you whitelisted your IP address in /etc/csf/csf.allow?

Offline
*
Re: Apache stops working after a while?
« Reply #2 on: July 27, 2023, 08:56:57 AM »
Hello, thank you for your quick response.
I have investigated further and it appears that it is the MSSQL connection that stops working. Once I log into the cwp panel, it works again. This does not happen if I disable the firewall.