During a site upgrade, I disable phpBB entirely by adding code to the top of...I'm trying to figure out the most graceful method to execute a controlled shutdown and place the system essentially on temporary time-out while we sort through this further.
common.php
, something like this:Code:
header("Status: HTTP/1.0 503 Service Unavailable", true, 503);header("Content-Type: text/html; charset=UTF-8");readfile("maintenance.html"); // use whatever static "temporarily offline" HTML you wish hereflush();exit;
By the way, there's been quite a few reports of excessive server loads lately like Claudebot attack, GoogleOther misbehaving?, and How to prevent DDoS attacks?. My short answer to all these reports, if you're I/T savvy, is "Try Cloudflare". Their web application firewall (WAF) blocks traffic before it reaches your server. Prompted by these reports, I checked and indeed, there's been a significant uptick in bot traffic. I've blocked the category of bots "AI Crawlers", which apparently includes GoogleOther, Claudebot, etc.
Statistics: Posted by HB — Sun Apr 28, 2024 5:08 pm