启用Movable Type的FastCGI

前段时间就尝试着安装Movable Type,可惜总是在FastCGI的问题上有些迷茫。以前依托于厦门大学bb开设的BlogCS,未能接触到MT的核心部分,稍有隔阂。

其 实Movable Type的安装并非外界传说那般麻烦,相比Wordpress,我们甚至能更直观地透过MT了解程序的安装全过程。我第一个安装的Movable Type是当前的最新版本——3.34,这个版本最大的改进来自于对FastCGI的完善支持。理论上说,FastCGI的执行效率是普通CGI的15 倍!但从实际情况看来,并没有太惊艳的感觉。或许是CGI本身太慢了吧。。。总结一下在Dreamhost上启用FastCGI的过程:

1.开启Dreamhost的panel,在Domains下的Manage Domains编辑需要启用FastCGI的域名,并钩选FastCGI Support

2.更改MT目录中mt.cgi、mt-comments.cgi、mt-tb.cgi、mt-view.cgi、mt-search.cgi的后缀改为fpl或者fcgi,当然,如果有SSH权限的话通过mv命令是最好的了。

3.将以下内容添加到mt-config.cgi文件中。

 

  • AdminScript mt.fpl
  • CommentScript mt-comments.fpl
  • TrackbackScript mt-tb.fpl
  • SearchScript
  • mt-search.fpl
  • ViewScript mt-view.fpl

4.重新发布全站。

  • QQ书签
  • Del.icio.us
  • 百度收藏
  • Google
  • 饭否
  • FriendFeed
Shawn Published@22:18 / 2007-03-26 / Trackback / Skip
2 Comments Contributed by Visitors
  1. rebuttonMiss97 / 1:02@2009-10-11 1
    Miss97

    It might have something to do with the length of the posts currently on the main page. ,

  2. rebuttonStinky76 / 8:23@2009-10-23 2
    Stinky76

    After giving them several different ideas of what they could do and after each one of those ideas were not considered seriously very long, I was just about to give up. ,

Leave Comments Here...

必填

必填&保密

随您

支持Ctrl+Enter快捷提交

  • 已部署"白忙活" Anti-Spam 系统,猪肉 Spammer 请注意查看源代码链接处。
  • 本站不会泄露您的邮件地址,敬请放心。
  • 支持常用 HTML 代码调用,插入 PHP 代码需注意:< = &lt;> = &gt;
  • 仅当某人针对您的评论做出回应时,您才会收到由本站发出的通知信件。
  • 如您希望以相同方式通知某位网友,请点击 Reply 按钮,或自行输入 @对方名字:
  • 鼠标移至评论列表中的 @someone: 区域即可自动显示 someone 的评论内容。

Shawn Blog

Shawn的个人博客(Blog),分享Wordpress技巧和Firefox浏览器心得,关注Web 2.0应用发展,记录对虚拟主机的使用评价。