Saw some errors in httpd log: [Sat Jun 10 18:20:54.048569 2017] [core:error] [pid 5596] (24)Too many open files: [client 126.96.36.199:56399] AH00132: file permissions deny server… Read More »How to Resolve Too many open files AH00132: file permissions deny server access
Visitors may sometimes access your server by a pretty raw manner which contains the most specific matching IP address. For instance, suppose the server IP… Read More »How to Prevent Visitors From Accessing Website Via Server IP
The following configuration can enable the rewrite rules of your virtual hosts and make robots.txt point to any other dynamic file (e.g. robots.php or robots.asp)… Read More »How to Enable Dynamic robots.txt with Virtual Hosts
Enabling client-side browsers to cache the web pages can speed up the response time of your visitors. According to Apache HTTP server 2.2 Module mod_expires,… Read More »How to Enable Client-Side Browser Cache on Apache Web Server
Since the version of Apache HTTP Server provided by CentOS 7 is pretty new (2.4.6), so we use it as our httpd version of LAMP. Check… Read More »How to Install Newest LAMP on CentOS 7 Minimal (2/3) - Apache
After installing SSL certificate, I rebooted the system, and I knew the process which ran httpd might be wrongly started at system startup, because starting… Read More »How to Resolve "(98)Address already in use: make_sock: could not bind to address 0.0.0.0:80"
Web administrators might have some routine jobs to be executed in the background periodically by triggering PHP web pages. Most of the times, the web… Read More »How to Execute PHP Background Jobs by Disconnecting From Clients
Curl Error: couldn't resolve host Found a Curl error: couldn't resolve host 'domain.name' It seemed that Curl was trying to resolve the domain name, but… Read More »How to Resolve PHP Curl Error: couldn't resolve host