A Simple CDN Service Module Made with PHP

To reduce traffic load, I used CloudFlare, but I noticed that the connection at LAX (Los Angeles) was slowing things down significantly. In a hurry, I decided to create a CDN-like service. The server is located in Tokyo (Vultr). The principle is to connect kilho.net/{file} to cdn.kilho.net/{file}, which distributes the traffic of the main hosting....

Server Migration Completed

The main domain (excluding subdomains) has been migrated to a new server.Previously, we were using Cafe24 for hosting, but due to issues with CentOS versions, we received a response that upgrading OpenSSL was impossible. We temporarily patched the WordPress core and plugins to keep things running, but continuous upgrades made the migration unavoidable.We have now...

HTTP Connection Information Logging

This is to check if the connection information is correct for testing when using OpenAPI. Method values, host, POST values upon connection. [PHP] <? $log = $_SERVER['REQUEST_METHOD'].' '.$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI'].' n'; foreach($_SERVER as $k => $v) { if($k=='HTTP_HOST') continue; if(substr($k, 0,5)!='HTTP_') continue; $log .= '$k: $v'." "; } $log .= " "; $post = array_map('urldecode', explode('&', file_get_contents('php://input')));...