本站使用的就是emlog的程序,简单,简洁,操作方便。之前使用的是wordpress,有点复杂,整个相对打开速度也没这个快。
最主要的一点是wordpress的数据库,如果系统重装或者服务器遇特殊情况而重装了,那么数据基本就丢了,所以我也不用了。上次刚丢了,又重新开始写。不折腾了,就用emlog了。
emlog4.0在IIS6下的伪静态规则:
[ISAPI_Rewrite]
# 3600 = 1 hour
CacheClockRate 3600
RepeatLimit 32
RewriteRule /robots.txt(.*) /robots.txt$1 [L]
RewriteRule /rss.php(.*) /rss.php$1 [L]
RewriteRule /tb.php(.*) /tb.php$1 [L]
RewriteRule /favicon.ico /favicon.ico [L]
RewriteRule /xmlrpc.php(.*) /xmlrpc.php$1 [L]
RewriteRule /wlwmanifest.xml /wlwmanifest.xml [L]
RewriteRule /(t|m)$ /$1/ [R]
RewriteRule /(admin|content|include|t|m)/(.*) /$1/$2 [L]
RewriteRule /install.php(.*) /install.php$1 [L]
RewriteRule /emlog_toolkit.php(.*) /emlog_toolkit.php$1 [L]
RewriteRule /up(\d.\d.\d)to(\d.\d.\d).php(.*) /up$1to$2.php$3 [L]
RewriteRule ^/$ /index.php [L]
RewriteRule /(.*) /index.php/$1 [L]
将次规则保存为httpd.ini上传到根本目录即可。
国内一般都是以前的isapi_rewrite1.3的自定义版本伪静态,保存为httpd.ini上传即可
如果是新的isapi_rewrite3.0版本,则是保存为.htaccess文件,然后保存上传到空间即可。
本文来自投稿,不代表:yexu,如若转载,请注明出处:http://www.yexu.net/?p=68