DokuWiki tips
上一篇 /
下一篇 2009-07-20 16:04:59
/ 个人分类:DokuWiki
===========
Fb2Qbn9~)w;z0DokuWiki简介51Testing软件测试网)U$Y T
br===========
)^6_\"qQ0在$DokuWiki$\conf\mime.conf 中
51Testing软件测试网9o@[%rc#M添加
}KV+J,g*HD051Testing软件测试网_ P6b
K4^txt application/txt
SbO]1I0zip !application/7zip
i6[+OWc6~0rar !application/7zip
51Testing软件测试网6{/o!G1S|YBz...
51Testing软件测试网$lj+SbM(_$G51Testing软件测试网(]C0X5c^T{|!开头表示需额外调用系统程序才能打开的程序
51Testing软件测试网%I!GTO o_无!则表示默认使用系统自动浏览器进行打开
51Testing软件测试网%dc6Ew}q+m3D4D"S*q}`0二 删除附件配置
51Testing软件测试网`{e3A0q m7}Z1.下载并安装插件mediamanager51Testing软件测试网](A#VJ N7e:[_j?1Q
2. 新建一个页面,将页面命名为attachment_delete,
},U5^g%n0并在页面内容里填写51Testing软件测试网&~(PRO~_p
{{media}}
dI5L#h7k;A"d8R051Testing软件测试网/kJ M|&F5?Ofj(YT
然后保存
E[&DjzY0
5l1UWDJ5E03.使用root登录wiki,进入admin->Access Control List Management,针对页面attachment_delete配置权限为@ALL none51Testing软件测试网9[
tPM5{`%dC
+PNQ.U%Oa^%I(Gov0以后只有以root登录才能对附件进行删除,对文件夹进行修改。
!a?+r:tg0
#C'R(OR7R+Tm0三 Dokuwiki 参数和邮件 配置
e~1G'g!P01. 从http://glob.com.au/sendmail/下载sendmail,解压,并在sendmail.ini中参数配置如下:
51Testing软件测试网hnOfY/Kf,[7E+gp [sendmail]51Testing软件测试网Mq;gRM/TN7?&EH)RF #t.Dx,LjX#S3D~s3h0smtp_server=smtp.mail.xxx.com default_domain=xxx.com 2p)A8L(zm PYo051Testing软件测试网6m clr&B1B
j]7[hauth_password=xxxxxxxxx51Testing软件测试网w8L'Ze}@ 51Testing软件测试网
L'NGs Whl9]:XB8Oforce_sender=xxx@xx.com51Testing软件测试网f*o/[qH2\8[ |
2.修改PHP.INI的[mail function]部分,并且只开启这一项(去掉注释的;号):
sendmail_path = "c:/path_to_sendmail/sendmail.exe -i -t"
3.重启Apache,让PHP.INI的修改生效。
如果发生邮件成功,页面上方会提示: Notification email sent
&@;W`og'A3Dr4h9v6}\'i0注:如果运行有问题,可以直接在cmd窗口运行c:/path_to_sendmail/sendmail.exe -i -t 查看报错信息
;\J.yUmD[
H4B0M:w7h7Vhnb2f%a0参考链接:51Testing软件测试网 qr9u*K/dqJ
51Testing软件测试网g|
K.h2K-xS0p5iChttp://www.fwolf.com/blog/post/82
ihn^`H4S
I'@051Testing软件测试网;R4`2M*x2S3ajfL?http://www.dokuwiki.org/tips:mailconfig51Testing软件测试网 O
~knOSJ%Lm
o-trHb|)Lw0
K[i9~ ?5l){E0&]2Z)i5K$P?e d;G_b9F_0
收藏
举报
TAG:
上传
配置