DokuWIKI 安装笔记

安装 DokuWiki

DokuWIKI可以不用数据库支持,
用户管理可基于简单的文件形式,即可满足同时支持若干个维护/管理用户的基本需求

  • 解压缩到www目录: wiki/
  • DokuWiki的推荐设置:
语言: zh
根路径(URL): http://www.blowfisher.net  (最顶层目录)
在 URL 中使用斜杠作为命名空间的分隔符: yes
  • 删除页面的方法: 只需清空编辑页面的内容,会自动删除该页面 (如何批量删除?)
  • 安全设置: chmod 000 install.php
  • 自定义风格的配置文件: lib/tpl/default/style.ini

URL REWRITE

修改配置 > 使用更整洁的 URL: .htaccess

WEB Server 启用 mod_rewrite:

LoadModule rewrite_module modules/mod_rewrite.so
  • 注意开启:
<Directory ".../wiki">
        AllowOverride All|...
</Directory>
  • 修改 wiki/.htaccess:
...
Options -Indexes -MultiViews +FollowSymLinks
RewriteEngine on
RewriteBase /wiki

RewriteRule (.*)                      doku.php?id=$1  [QSA,L]
RewriteRule ^index.php$               doku.php
...

Gallery2 图片输出

Gallery2 的默认图片输出的动态URL不能直接用于 BBCode 或 WikiSyntax, 要启用Gallery2的URLReWrite支持

www.blowfisher.net 2007/12/25 00:17 home

 
tech-notes/dokuwiki-install-notes.txt · 最后更改: 2008/01/25 12:10 由 blf
 
Recent changes RSS feed Creative Commons License Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki