打开APP
userphoto
未登录

开通VIP,畅享免费电子书等14项超值服

开通VIP
DokuWiki安裝过程 --- CentOS
DokuWiki安裝过程 --  oice DIY
# cd cd /var/www/html
# wgethttp://www.splitbrain.org/_media/projects/dokuwiki/dokuwiki-2006-11-06.tgz?id=projects%3Adokuwiki&cache=cache
# mv dokuwiki-2006-11-06.tgz\?id\=projects\:dokuwiki dokuwiki-2006-11-06.tgz
# tar -zxvf dokuwiki-2006-11-06.tgz
# mv dokuwiki-2006-11-06 wiki
# chown -R apache:apache wiki
在apache支持rewrite环境下
WIN2K的IE中输入:http://10.10.7.246/wiki/install.php
选择语言zh,配置管理员的密码,保存
以刚才管理员的账号登入,“管理”---“配置设置”
有新注册通知到email
支持html语法
.htaccess(在高级项处)
-- 可将install.php更名
# mv install.php install.php.bak
# cp /var/www/html/.htaccess /var/www/html/.htaccess.bak
# vi /var/www/html/.htaccess
## Enable this to restrict editing to logged in users only
## You should disable Indexes and MultiViews either here or in the
## global config. Symlinks maybe needed for URL rewriting.
#Options -Indexes -MultiViews +FollowSymLinks
## make sure nobody gets the htaccess files
<Files ~ "^[\._]ht">
Order allow,deny
Deny from all
Satisfy All
</Files>
## Uncomment these rules if you want to have nice URLs using
## $conf[‘rewrite‘] = 1 - not needed for rewrite mode 2
RewriteEngine on
#
## Not all installations will require the following line.  If you do,
## change "/dokuwiki" to the path to your dokuwiki directory relative
## to your document root.
RewriteBase /wiki    #这个很重要,必须要与上面wiki所在文件夹名相符合,不然会打不开网页的
#
RewriteRule ^_media/(.*)              lib/exe/fetch.php?media=$1  [QSA,L]
RewriteRule ^_detail/(.*)             lib/exe/detail.php?media=$1  [QSA,L]
RewriteRule ^_export/([^/]+)/(.*)     doku.php?do=export_$1&id=$2  [QSA,L]
RewriteRule ^$                        doku.php  [L]
RewriteCond %{REQUEST_FILENAME}       !-f
RewriteCond %{REQUEST_FILENAME}       !-d
RewriteRule (.*)                      doku.php?id=$1  [QSA,L]
RewriteRule ^index.php$               doku.php
# chown apache:apache /var/www/html/.htaccess
WIN2K的IE中输入:http://10.10.7.246/wiki/
注册oice账号,在oice2008@126.com中能收到密码邮件,安装成功
参考资料:
http://www.ichiayi.com/wikipage/tech/dokuwiki
http://sinosmond.com/guide/dokuwiki/dokuwiki_install
http://www.wiztek.cn/trac/wiki/wiki/TracInaction
http://wiki.moligu.com/doku.php?do=export_raw&id=%E6%89%8B%E5%86%8C:dokuwiki
http://www.blogjava.net/pepsixp/archive/2007/06/14/DokuWiki.html
本站仅提供存储服务,所有内容均由用户发布,如发现有害或侵权内容,请点击举报
打开APP,阅读全文并永久保存 查看更多类似文章
猜你喜欢
类似文章
【热】打开小程序,算一算2024你的财运
使用Apache的rewrite技术
ecshop自定义目录结构伪静态url
.htaccess技巧: URL重写(Rewrite)与重定向(Redirect)
thinphp apache url重写有关问题
Wordpress Rewrite / Permalink内部过程分析
一个斜杆在apache配置中的问题
更多类似文章 >>
生活服务
热点新闻
分享 收藏 导长图 关注 下载文章
绑定账号成功
后续可登录账号畅享VIP特权!
如果VIP功能使用有故障,
可点击这里联系客服!

联系客服