JPerson
发贴: 3
积分: 0
|
于 2003-11-18 23:38
我的环境是: winxp+sp1 Apache 2.0.48 Tomcat 5.0.14 J2SE1.4.2 blog: pebble (可以去:http://sourceforge.net/projects/pebble/下载)
blog的安装和说明主要看看他的帮助文件就可以了。我把我的配置文件贴出来, 主要是修改两个文件,一个是WEB-INF/lib的web.xml,一个是在你的放置blog数据 (xml文件)的目录下自建的一个blog.propertise文件。
web.xml,我只贴我修改过的,大家可以参考原始的对照: ----------------- <display-name>blog</display-name> <description>willian's blog</description>
<!-- set the value of this parameter to the directory containing the blog.pr operties file --> <context-param> <param-name>blog.dir</param-name> <param-value>E:\Mine\blog</param-value> </context-param>
<!-- set the value of this parameter to the name of the role that has admin access --> <context-param> <param-name>blog.owner</param-name> <param-value>willian zhao</param-value> </context-param> ------------------
blog.properties,可以根据说明文件中的模板创建: ------------------
# the core blog properties # name, author, description and url are all mandatory # timeZone is optional, and defaults to Europe/London # lanugage (two letter ISO code) is optional, and defaults to en # country (two letter ISO code) is optional, and defaults to GB # daysOnHomePage is optional, and defaults to 3 name=willian's blog author=willian zhao description=willian zhao home url=http://localhost:8081/pebble-1.3/ timeZone=Asia/Beijing language=zh country=CN daysOnHomePage=7
# theme is optional and defaults to default theme=default
# pingWeblogs (for pinging weblogs.com on new posts) is optional and default s to false pingWeblogs=false
# these are the properties related to e-mail notifications # email, smtpHost and notifications are all optional email=you@email.net smtpHost=smtp.youmail.com notifications=true
---------
(缩略图,点击图片链接看原图)
|