Since restarting httpd service may cause connections disrupted for seconds, you may use reload action instead of restart to make your httpd server apply new… Read More »How to Make httpd.conf Take Effect Without Restart
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
Just like I said in the post How to Prevent Visitors From Accessing Non-Critical Directories. Another issue that we should be aware of, is the… Read More »How to Return "404 Not Found" Instead of "403 Forbidden"
In this post, I will talk about how to protect non-critical but sensitive directories from accessing by visitors. For real critical directories, such as /wp-admin… Read More »How to Prevent Visitors From Accessing Non-Critical Directories
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 deflation on Apache web server can reduce the size of files that your server responded, the configuration is quite simple: Just add the following… Read More »How to Enable Deflation of Files on Apache Web Server
HTTP Basic Authentication - htpasswd is a quite old technology which has been lasted and evolved for a long time. It's easy to setup, but… Read More »How to Password Protect Web Directories by HTDIGEST
Met a message when restarting the httpd service: [root@www ~]# service httpd restart Stopping httpd: … Read More »How to Resolve httpd: Could not reliably determine the server's fully qualified domain name