2015年3月

腾讯企业邮箱POP3/SMTP协议
接收邮件服务器:pop.exmail.qq.com (端口 110),使用SSL,端口号995
发送邮件服务器:smtp.exmail.qq.com (端口 25),使用SSL,端口号465
海外用户可使用以下服务器
接收邮件服务器:hwpop.exmail.qq.com (端口 110),使用SSL,端口号995
发送邮件服务器:hwsmtp.exmail.qq.com (端口 25),使用SSL,端口号465

腾讯企业邮箱IMAP协议
接收邮件服务器:imap.exmail.qq.com (端口 143),使用SSL,端口号993
发送邮件服务器:smtp.exmail.qq.com (端口 25),使用SSL,端口号465

海外用户可使用以下服务器
接收邮件服务器:hwimap.exmail.qq.com (端口 143),使用SSL,端口号993
发送邮件服务器:hwsmtp.exmail.qq.com (端口 25),使用SSL,端口号465

Typecho博客程序是国人开发的,虽然目前不在更新但是功能基本完善,结构看类似WORDPRESS,但是在占用资源上比WP好很多。所以Typecho用户还是非常多的。
Typecho程序的伪静态规则不同于wp直接默认可用,需要我们手工加载到空间中才可以生效。下面整理了这款程序在不同的主机环境中的伪静态规则,希望对大家有所帮助。
1、LinuxApache环境(.htaccess):

RewriteEngine On

下面是在根目录,文件夹要修改路径,如 /xxxxxx/

RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /index.php/$1 [L]

带 www 的跳转到不带的

RewriteCond %{HTTP_HOST} ^www.rcek.net
RewriteRule (.*) http://rcek.net/$1 [R=301,L]

不带 www 的跳转到带的

RewriteCond %{HTTP_HOST} ^rcek.net
RewriteRule (.*) http://www.rcek.net/$1 [R=301,L]

2、LinuxApache环境(Nginx):
location / {
index index.html index.php;
if (-f $request_filename/index.html) {
rewrite (.) $1/index.html break;
}
if (-f $request_filename/index.php) {
rewrite (.
) $1/index.php;
}
if (!-f $request_filename) {
rewrite (.*) /index.php;
}
}
3、Windows IIS伪静态(httpd.ini):
[ISAPI_Rewrite]

3600 = 1 hour

CacheClockRate 3600
RepeatLimit 32

中文tag解决

RewriteRule /tag/(.*) /index.php\tag=$1

sitemapxml

RewriteRule /sitemap.xml /sitemap.xml [L]
RewriteRule /favicon.ico /favicon.ico [L]

内容页

RewriteRule /(.*).html /index.php/$1.html [L]

评论

RewriteRule /(.*)/comment /index.php/$1/comment [L]

分类页

RewriteRule /category/(.*) /index.php/category/$1 [L]

分页

RewriteRule /page/(.*) /index.php/page/$1 [L]

搜索页

RewriteRule /search/(.*) /index.php/search/$1 [L]

feed

RewriteRule /feed/(.*) /index.php/feed/$1 [L]

日期归档

RewriteRule /2(.*) /index.php/2$1 [L]

上传图片等

RewriteRule /action(.*) /index.php/action$1 [L]

(原文来自老左博客