Installing MySQL on CentOS 7 is a little different from CentOS 6, because CentOS 7 adopts a different tool systemctl to control the life cycles of… Read More »How to Install Newest LAMP on CentOS 7 Minimal (1/3) - MySQL
Apache Web Server
In this series of tutorial, I plans to install the following components for my LAMP server: Linux: CentOS 7.0.1406 minimal. Apache: http server 2.4.6. MySQL:… Read More »How to Install Newest LAMP on CentOS 7 Minimal (0/3) - An Overview
Sometimes, you may want to prevent specific users from accessing data in some conditions and return them a mild refusal 404 Not Found page instead,… Read More »How to Return 404 Not Found Just Looks Like Apache's
First, check what the type of MPM we are running with: [root@web ~]# apachectl -l Compiled in modules: core.c prefork.c http_core.c … Read More »Apache Httpd Optimization on Processes and Requests
You might have been aware of some visitors were searching for something different on your website like the following sample log excerpted from /var/log/httpd/error_log. [Fri… Read More »What are Malicious Visitors Looking For
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
If you want to limit access to a specific directory, you should consider two techniques: Authorization Based on Hosts: when the users are limited in… Read More »How to Limit Access to Web Directories Based on Hosts
When you were trying to use htdigest instead of htpasswd to create a password file, you might meet the error: [root@test ~]# htdigest -c /usr/local/httpd/passwords… Read More »How to Resolve "Could not open passwd file -c for reading"
ERROR_LOG After you set display_errors = Off in php.ini, the error message began to go background. You might want to know where the error message… Read More »Where is the Default Location of ERROR_LOG in PHP?
The procedure to make formal SSL work is more complicate than a self-signed SSL, because the procedure involves a third party, i.e. a certificate authority… Read More »How to Make Your Official SSL Work - Openssl + Apache + Linux + CA