MAXMIND GEOLITE2 has been released in April 2014, I have installed it on another server at that time. I purchased a new VPS today, and almost forget the processing to install it. So I finally decided to write the post here, then it’s easy to recall my memory without a search again.
Today, I encountered an error when I transferred a word press site. Although it’s not caused by the moving in fact. Anyway, the initial error message displayed in log file as following:
Request exceeded the limit of 10 internal redirects due to probable configuration error. Use ‘LimitInternalRecursion’ to increase the limit if necessary. Use ‘LogLevel debug’ to get a backtrace., referer:
Previously, tons of tutorial teaches the beginners to register an exact match domain for the top ranking on Google.com. Especially, the auto-blog teachers told their readers the truth always. So what is an exact match domain or EMD? Is it safe to use those domains? Read the rest of this entry »
Today, my VPS on slicehost has been setup as virtual private network server via OpenVPN. As I have mentioned at Google said goodbye to Chinese, the google.cn has been disabled and restricted by IP. So I have to find a way to setup the VPN server so that I can visit Google.com in China. Well, my story is over. Let’s start the VPN server tutorial right now! Read the rest of this entry »
Nginx, as one of light web server software, is awesome. It has the ability to protect whole or parts of your web application via http authentication. It can be set up with ease. Be careful with the path of your auth user file. Try to change it to the absolute path if your pages drop into 500 Internal Server Error.
syntax: auth_basic_user_file the_file
context: http, server, location, limit_except
This directive sets the htpasswd filename for the authentication realm. Since version 0.6.7 the filename path is relative to directory of nginx configuration file nginx.conf, but not to nginx prefix directory.
The format of file is the following:
Passwords must be encoded by function crypt(3). You can create the password file with the htpasswd program from Apache.