yahoo的链接指数工具

September 19th, 2007

可以显示有多少网站链接到了你的blog,或者有多少网站链接到了所在的页面。

代码地址:

http://sitemap.cn.yahoo.com/badge

小心SOSO爬虫

August 24th, 2007

今天仔细看了一下日志,发现IP段58.61.164每天占用流量100多M,本月点击每个IP都是上万,到网上搜索了一下这个IP段是SOSO的蜘蛛

看到很多网站已经被他搞挂掉了。
用虚拟主机的用户最好自己查看一下日志,或者干脆禁止他的IP地址就可以了,否则虚拟主机很容易被它搞得超资源。
可以在.htaccess中加入下列语句禁止IP
order allow,deny
deny from 123.45.6.7
deny from 12.34.5. (整个C类地址)
allow from all

附一个搜索引擎蜘蛛的IP地址列表,网上找到的,不知道准确度如何。另外大家如果有其他数据欢迎补充:

序号        IP                    注释

1          202.106.186.*        163蜘蛛
2          202.108.36.*        163蜘蛛
3          202.108.44.*        163蜘蛛
4          202.108.45.*        163蜘蛛
5          202.108.5.*        163蜘蛛
6          202.108.9.*        163蜘蛛
7          220.181.12.*        163蜘蛛
8          220.181.13.*        163蜘蛛
9          220.181.14.*        163蜘蛛
10        220.181.15.*        163蜘蛛
11        220.181.28.*        163蜘蛛
12        220.181.31.*        163蜘蛛
13        222.185.245.*        163蜘蛛

14        202.165.100.*        3721蜘蛛

15        220.181.19.*        百度蜘蛛
16        159.226.50.*        百度蜘蛛
17        202.108.11.*        百度蜘蛛
18        202.108.22.*        百度蜘蛛
19        202.108.23.*        百度蜘蛛
20        202.108.249.*        百度蜘蛛
21        202.108.250.*        百度蜘蛛
22        61.135.145.*        百度蜘蛛
23        61.135.146.*        百度蜘蛛

24        64.124.85.*        become.com

25        61.151.243.*        china蜘蛛

26        202.165.96.*        gais.cs.ccu.edu.tw

27        216.239.33.*        google蜘蛛
28        216.239.35.*        google蜘蛛
29        216.239.37.*        google蜘蛛
30        216.239.39.*        google蜘蛛
31        216.239.51.*        google蜘蛛
32        216.239.53.*        google蜘蛛
33        216.239.55.*        google蜘蛛
34        216.239.57.*        google蜘蛛
35        216.239.59.*        google蜘蛛
36        64.233.161.*        google蜘蛛
37        64.233.189.*        google蜘蛛
38        66.102.11.*        google蜘蛛
39        66.102.7.*        google蜘蛛
40        66.102.9.*        google蜘蛛
41        66.249.64.*        google蜘蛛
42        66.249.65.*        google蜘蛛
43        66.249.66.*        google蜘蛛
44        66.249.71.*        google蜘蛛
45        66.249.72.*        google蜘蛛
46        72.14.207.*        google蜘蛛

47        61.135.152.*        iask蜘蛛

48        65.54.188.*        msn蜘蛛
49        65.54.225.*        msn蜘蛛
50        65.54.226.*        msn蜘蛛
51        65.54.228.*        msn蜘蛛
52        65.54.229.*        msn蜘蛛
53        207.46.98.*        msn蜘蛛
54        207.68.157.*        msn蜘蛛

55        194.224.199.*        noxtrumbot

56        220.181.8.*        Outfox
57        221.239.209.*        Outfox

58        217.212.224.*        psbot

59        219.133.40.*        QQ蜘蛛
60        202.96.170.*        QQ蜘蛛
61        202.104.129.*        QQ蜘蛛
62        61.135.157.*        QQ蜘蛛
63        219.142.118.*        sina蜘蛛
64        219.142.78.*        sina蜘蛛

65        61.135.132.*        sohu蜘蛛
66        220.181.26.*        sohu蜘蛛
220.181.19.*

67        61.135.158.*        tom蜘蛛

68        66.196.90.*        yahoo蜘蛛
69        66.196.91.*        yahoo蜘蛛
70        68.142.249.*        yahoo蜘蛛
71        68.142.250.*        yahoo蜘蛛
72        68.142.251.*        yahoo蜘蛛
73        202.165.102.*        yahoo中国蜘蛛
74        202.160.178.*        yahoo中国蜘蛛
75        202.160.179.*        yahoo中国蜘蛛
76        202.160.180.*        yahoo中国蜘蛛
77        202.160.181.*        yahoo中国蜘蛛
78        202.160.183.*        yahoo中国蜘蛛
79        72.30.101.*        yahoo蜘蛛
80        72.30.102.*        yahoo蜘蛛
81        72.30.103.*        yahoo蜘蛛
82        72.30.104.*        yahoo蜘蛛
83        72.30.107.*        yahoo蜘蛛
84        72.30.110.*        yahoo蜘蛛
85        72.30.111.*        yahoo蜘蛛
86        72.30.128.*        yahoo蜘蛛
87        72.30.129.*        yahoo蜘蛛
88        72.30.131.*        yahoo蜘蛛
89        72.30.133.*        yahoo蜘蛛
90        72.30.134.*        yahoo蜘蛛
91        72.30.135.*        yahoo蜘蛛
92        72.30.216.*        yahoo蜘蛛
93        72.30.226.*        yahoo蜘蛛
94        72.30.252.*        yahoo蜘蛛
95        72.30.97.*        yahoo蜘蛛
96        72.30.98.*        yahoo蜘蛛
97        72.30.99.*        yahoo蜘蛛
98        74.6.74.*        yahoo蜘蛛

99        202.108.4.*        中搜蜘蛛
100      202.108.4.*        中搜蜘蛛
101      202.108.33.*       中搜蜘蛛
102      202.96.51.*        中搜蜘蛛
103      219.142.53.*        中搜蜘蛛

Blog成功转移空间

August 20th, 2007

原来放在IXwebhosting上,到后来基本无法更新,发文章经常遇到内部服务器错误,都是当时贪心独立IP惹的祸.

现在blog已经成功转移到独立主机上,速度有很大改善了,也不会在发文章的时候被郁闷了.

使用帝国备份王转移的数据库,很方便,比想象的要简单,本来开始还准备装一个WP备份数据库的插件,看来没必要了.

下面的事情:

升级一下wordpress的版本

找一个漂亮一点的模版

以后会每周坚持更新我的Blog

近期修理一下自己的blog

August 10th, 2007

以下几个方面:

1. 换空间.现在用的是IX,速度不理想,不稳定.

2. 升级版本.有很多新版本了.

3.修改模版,增加一些功能.

LunarPages可以直接用PayPal付款了

August 10th, 2007

之前LunarPages的paypal付款是通过网关SC进行的,需要收取手续费,大概在10%左右。因为原来用paypal付款最多付过3%的手续费( enom),因此总觉得这个的手续费太高了.而且退款网关的手续费不能退,也就是说,如果退款,你会损失掉一部分钱.

现在好了,可以直接通过Paypal付款了,只要在选择付款方式的时候选择PayPal就可以了.

参考:  LunarPages中文指南

【转】抵制三河酒店!!!

June 10th, 2007

发信人: dinghanping(风云), 信区: GraduateUnion
标 题: 抵制三河酒店!!!
发信站: 瀚海星云 (2007年06月09日00:06:14 星期六), 站内信件 WWWPOST

今天师兄毕业请老板吃饭,竟在香菜里有一条很长的活生生的虫子在上面爬。
恶心。
饭后等老板走后,跟经理理论很长时间,但经理就是不肯打折牺牲利益。
最后只免了总价的八分之一。
结账时,一名员工骂我们科大学生是垃圾。师兄说你骂谁。
那人冲上就打,把两位师兄打伤了,就跑掉了。酒店马上关门,说他们没有看见任何事
情发生。
于是报警,目前还在派出所处理中。

真恶心,还以为这种酒店有档次,哎,这次真的感觉到了社会多么复杂,打人了转身居
然说没打。不过警察不是吃闲饭的。

说出来一吐为快。不然气得慌。
该酒店位于梅山路。三河酒店!!!

LunarPages中实现gzip压缩输出

May 17th, 2007

启用gzip可以将文件压缩到原来的约1/4,也就是速度可以提高到原来的4倍,使用流量将减少到原来的1/4。弄了一个纯文本的html测试,原文件1.6M,竟然压缩掉99%!可见gzip的优势。

这里介绍如何在LunarPages中为网站程序启用gzip压缩,不需要程序的支持,可以为所有的php及html启用gzip压缩。当然,如果你使用的是本身可以启用gzip的程序,例如discuz,wordpress等等,只需要在程序后台启用即可,就不需要这么麻烦了。如果你使用的是像ShopEx这样的没有gzip功能的程序可以使用此方法,可以极大的提高访问速度(ShopEx最大的缺点就是速度慢:)).启用gzip会轻微加重服务器资源消耗,给html启用gzip,则html文件需要经过php引擎编译,会加重服务器负担。

首先给所有的php文件启用gip压缩:

在php.ini中添加下面语句

output_buffering = Off
output_handler =
zlib.output_compression = On

这样就可以给所有php文件进行gzip压缩了。注意的是,这样启用gzip之后需要将程序原来的gzip功能去掉,例如discuz等的gzip不要启用,否则程序会报错。

下面为html页面启用gzip压缩,我们要做的就是让apache将html文件当作php文件处理即可。在.htaccess文件中加入下面的语句即可:

AddHandler x-httpd-php .html .htm

这样就可以为html文件htm文件启用gzip压缩了。

目前只测试了在lunarpages的suPHP中此方法有效,其他主机试过之后再公布。

这个是启用gzip以后的Shopex:http://shopex.lunarpagescn.com

相关连接:

支持国内银行卡付款的美国主机lunarpages

lunarpages优惠券 

LunarPages中文指南

LunarPages 开通信翻译

May 10th, 2007

—————————————————————————————-

推荐阅读:

LunarPages购买过程图解 http://www.idcspy.com/bbs/thread-2263-1-1.html

优惠券  percent26 优惠购买总金额的26%   28OFF 优惠28美元

—————————————————————————————-

信件内容很长,只翻译和使用密切相关的部分。

帐户信息部分

Account Information

This gives information on how to access and maintain your account. We highly recommend changing your password periodically to maintain security.
  • Domain: lunarpagescn.com  域名,你购买的时候填写的域名,你的主域名
  • Username: lgnar69                用户名
  • Password: k39q63r10            密码
  • Server: asrist                         服务器名

帐户帮助信息

Account Assistance

Lunarpages has many tools for our customers to assist them with their website. Please see the following:

 

查看网站

View Your Website

Please note that until you upload your information you will see an empty directory.

You should upload all files into the public_html directory of your file manager. Please also see FTP Instructions for more details.

将所有的网站文件上传到public_html 目录,public_html 是网站根目录

If you are purchasing a new domain or changing nameservers on an existing domain, it can take up to 72 hours for the domain to propagate fully. During this time you may not be able to view your site or receive email. For your convenience, we have provided a temporary URL until this is complete (Please note that this URL will not be able to display PHP, ASP, or JSP pages):

http://asrist.lunarservers.com/~lunar54/

在域名没有生效以前可以使用上面的零时地址访问网站

Once propagation is complete you may view your site at the following email links:

生效以后就可以使用下面的地址访问网站

http://lunarpagescn.com

or

http://www.lunarpagescn.com

 

控制面板

Lunarpages Administration Panel

Lunarpages uses CPanel, an easy to use customer account interface.

The administration panel lets you manage your entire website, modify and setup account features and much more.

Instruction Manual: http://www.lunarpages.com/new_manual/index.html

使用说明书 http://www.lunarpages.com/new_manual/index.html

Helpful Tutorials: http://www.lunarpages.com/tutorials/index.htm

帮助指南 http://www.lunarpages.com/tutorials/index.htm

Access Your Control Panel: http://www.lunarpages.com/login.php

登陆控制面板地址:http://www.lunarpages.com/login.php

 

邮件说明

Email Instructions

Your new account offers POP3, IMAP and SMTP access.

POP3 Mail Host: lunarpagescn.com     POP3地址:lunarpagescn.com
SMTP Mail Host: lunarpagescn.com     SMTP地址: lunarpagescn.com 
Webmail Interface: http://lunarpagescn.com/webmail

web邮件地址http://lunarpagescn.com/webmail

Outlook Express E-Mail Setup Help: http://www.lunarpages.com/tutorials/tutorial_files/email_OE.htm

Outlook Express设置帮助:http://www.lunarpages.com/tutorials/tutorial_files/email_OE.htm

Outlook 2002 E-Mail Setup Help: http://www.lunarpages.com/tutorials/tutorial_files/email_outlook2002.htm

Outlook 2002 设置 http://www.lunarpages.com/tutorials/tutorial_files/email_outlook2002.htm

Netscape E-Mail Setup Help: http://www.lunarpages.com/tutorials/tutorial_files/email_netscape.htm

Netscape设置http://www.lunarpages.com/tutorials/tutorial_files/email_netscape.htm

Web Based E-Mail: http://www.lunarpages.com/tutorials/tutorial_files/cpanel_xv2_webmail.htm

网页邮件使用:http://www.lunarpages.com/tutorials/tutorial_files/cpanel_xv2_webmail.htm

How To Create New E-Mail Accounts: http://www.lunarpages.com/tutorials/tutorial_files/cpanel_xv2_POP.htm

如何建立新的邮件帐户:http://www.lunarpages.com/tutorials/tutorial_files/cpanel_xv2_POP.htm

Please note that SMTP authentication must be set.

 

FTP说明

FTP Instructions

You can begin uploading your files immediately.

FTP host address: ftp://asrist.lunarservers.com/ (this can be used until propagation is complete) Or lunarpagescn.com (this can be used once propagation is complete) Critical Note:
In order for your pages to be viewed on the internet, they must be uploaded into the public_html folder. Please also note file names are case sensitive on a Linux server. Your first page on your account should be named “index.html”.

WsFTP Setup Help: http://www.lunarpages.com/tutorials/tutorial_files/ws_ftp_configuresite.htm

CuteFTP Setup Help: http://www.lunarpages.com/tutorials/tutorial_files/cuteftp_configure.htm

SmartFTP Setup Help: http://www.lunarpages.com/tutorials/tutorial_files/smartftp_configuresite.htm

* You understand and agree that shared server space is for business and personal website operations only hosted by Lunarpages and not for unrelated data storage.

FTP地址可以使用域名(要等解析生效以后)或者是IP,主账户的用户名和密码和帐户信息部分部分的帐号和密码一致。所有网站文件应该上传到public_html目录及其子目录下。linux系统区分文件大小写,注意文件的大小写。

 

域名说明

Domain Name Instructions

Critical Note

In order to use your own domain name at Lunarpages you must change the name servers to the following:

ns1.lunarservers.com
ns2.lunarservers.com

解析服务器地址:

ns1.lunarservers.com
ns2.lunarservers.com

If your registrar requires the IP addresses:

ns1.lunarservers.com: 209.200.238.4
ns2.lunarservers.com: 209.200.237.4

Tutorial on How To Change DNS Servers:
http://www.lunarpages.com/tutorials/all_registrars.htm

修改DNS服务器的指导

http://www.lunarpages.com/tutorials/all_registrars.htm

You must visit your registrar (the website where you purchased your domain) to complete this action.

NOTE: You must allow up to 72 hours from the time you change your domain name servers for the domain to work. It takes all registrars this long for your domain changes to reach all the world’s servers.

If you purchased your domain from Lunarpages, it has already been done!

如果你的域名是在lunarpages注册的,那么这一切都是做好的,等域名生效就可以使用了。

Anonymous Domain

After registering a new domain, your personal information is readily available on the Internet via a whois search (whois.com). To ensure your anonymity, Lunarpages has Anonymous Domain Registration available. For more information, please contact sales@lunarpages.com.

 

高级选项

Advanced Options

Lunarpages has the capacity to support several scripting languages including PHP4 and PERL5

Path to Perl 5: /usr/bin/perl     

Perl 5路径:/usr/bin/perl     

 
Path to your HOME directory: /home/USER/public_html/

网站根目录的真实路径:/home/USER/public_html/

Path to your CGI-BIN directory: /home/USER/public_html/cgi-bin

CGI-BIN 目录:/home/USER/public_html/cgi-bin

PHP4 scripts will run from any directory in your site (once DNS propogation is complete, within 72 hours of signup).

All other script documentation, including how to use MySQL, can be found in your Lunarpages Administration Panel.