效果就是从:
http://blog.druggo.org/index.php/post/2009/09/20/This-is-The-Life
变成:
http://blog.druggo.org/post/2009/09/20/This-is-The-Life

先去博客设置里面,把Blog URL改成: http://blog.druggo.org/,URL scan method随便(只是rewrite的时候index.php后面用/还是?的区别)。

下面是服务器配置
lighttpd: (缺点不能判断目录,因此admin需要输入文件名/admin/index.php)
url.rewrite-if-not-file = (
    "^/(.*)$" => "/index.php/$1"
)

apache:(.htaccess)
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /index.php/$1