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.
auth_basic_user_file
syntax: auth_basic_user_file the_file
default: no
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:
user:pass
user2:pass2:comment
user3:pass3Passwords must be encoded by function crypt(3). You can create the password file with the htpasswd program from Apache.
I detected the Google.CN has been suspended and redirected to Google.com.hk half an hour ago.

And it has been confirmed by Googler. You can see Google has tweeted New Approach to China Update. Back to the original post about Google approach to China, we know Google.cn was opened in January 2006.
At the same time, Google.com can’t be visited and redirected too. It means that the Google used IP address as the strict condition for 302 redirect. Otherwise(see below). I won’t detected this out because I use GOogle.com to search usually. I recommend that Google goes to remove the text link at home page of google.com.hk for Chinese user(should remain it for HongKong users of course:).

I have three types of browsers installed at my computer(Windows 7 64bit). I have tested on all of them, and the following are results.
| Google.cn | Google.com | |
| IE(64-bits) | 302->Google.com.hk | Remain at Google.com |
| IE(32-bits) | 302->Google.com.hk | Remain at Google.com |
| Chrome | 302->Google.com.hk | 302->Google.com.hk |
| Firefox | 302->Google.com.hk | 302->Google.com.hk |
Then I go to connect another computer that install Window 2003 32bit as OS at my office, the all redirecting works well there. I believe that is not a bug when Googler want to handle redirect. Anyway, seems Google doesn’t use the user IP as the redirect condition. I really can not figure out how they to redirect the Google.com to Google.com.hk on both Chrome and Firefox. Could anyone see my articles give me a hint?
Will it reduce the Google’s marketing share in China?
IMHO, Absolute NOT! I even guess that more Chinese people will know Google. Google is successful one more time in Chinese marketing:)
In terms of Google’s wider business operations, we intend to continue R&D work in China and also to maintain a sales presence there, …… Google.com.hk.
Google filter the search result at the same time
I have tried to use some sexual words to search at Google.com.hk. The content filter of Google Safesearch is active automatically. I even can’t close it via Google Preferences Page in Firefox as the parameter(&safe=active) is added explicitly compared with Google chrome. Fortunately, it can be set to off manually throughout URL modification with ease.
Recent Comments