Hi, Hong,
On 10/11/11 9:18 PM, H Xu wrote:
Hello,
I noticed that vim website now uses something from google. However,
google is often blocked in China, and when google is blocked, vim
website also becomes inaccessible (when opening the vim website, the
status bar of firefox always says "connecting to www.google.com", but
the page is not completely shown). I don't know much about web things,
but could this be fixed?
I'm not connected with vim.org, but I took a look at the page source and
I think you can solve your problem. I suspect the big issue is the site
search form which uses javascript from Google.
Often you can fix such problems by making the fetches fail fast,
allowing the rest of the page to display normally. This can be done by
adding entries to your 'hosts' file so that the inaccessible domains are
mapped to your local machine.
Try adding the following:
127.0.0.1 www.google.com
127.0.0.1 pagead2.googlesyndication.com
127.0.0.1 apis.google.com
to your 'hosts' file. That would be /etc/hosts on most systems or
likely C:\windows\system32\drivers\etc\hosts on Windows. See
http://en.wikipedia.org/wiki/Hosts_%28file%29 for more details on this file.
Hope that helps!
- George
--
----------------------------------------------------------------------
* George Dinwiddie * http://blog.gdinwiddie.com
Software Development http://www.idiacomputing.com
Consultant and Coach http://www.agilemaryland.org
----------------------------------------------------------------------
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php