标题：tipask
tipask 简介
Tipask问答系统是一款开放源码的PHP仿百度知道程序。以国人的使用习惯为设计理念，采用MVC构架，系统具有速度快，SEO友好，界面操作简洁明快等特点。
对稳定性与负载能力要求较高的即问即答网站，大中型企业的客户在线技术、产品与服务的业务咨询问答，企业事业单位内部办公协作、无障碍交流与沟通，大中专院校及专业网校的学生、教工与校友的知识交流，已经发展到一定规模，具有相当访问量的个人网站工商、医疗、旅游、军事、艺术、科技、交通等等领域的专业网站，地方政府、电信、科研机构或爱好者建立的地域性的问答区 。
tipask 运行环境
软件环境
httpd服务器（如Apache、IIS、Nginx）
PHP 4.3.0及以上
MySQL 4.0.22及以上
推荐环境
Apache 2.0以上
PHP 5.0以上
MySQL 5.0以上
tipask 目录说明
api : 存放和外部系统交互的api
control：存放系统的所有控制器类
css：存放页面样式和相关图片等，logo也在这里，是站长比较喜欢浏览的目录
data：存放数据缓存、模板缓存以及上传的文件等
install：安装程序，安装成功后可以删除
js：所有页面用到的js，前台和后台的都在这
lib：系统用到的工具类和函数
model：系统所有的模型类，是系统核心代码区域
uc_client：uc的客服端
view：模板html文件，站长最爱修改的目录
index.php：系统唯一入口，请勿擅自修改本文件
passport_clent.php：通行证接口文件
tipask 与ucenter整合
tipask 与 ucenter可以做到很好的整合，对站长来说是很方便的。
这个说一下整合的时候本人遇到的一些问题。
一：安装时设定的管理员帐号登录 → 进入系统设置 → 系统整合 → ucenter 简单的设置就可以与ucenter进行通信啦。这样会在data文件夹下生成一个文件，里面包括了一些配置参数。
二：以上操作基本上是没有问题，OK的，但是本人发现在ucenter后台，会突然变的很慢，但是删除掉里面的tipask应用后就很流畅，这就很奇怪了。 但是删除掉tipask应用后，tipask就不能跟其他应用进行同步的登录等操作，于是我手动在ucenter里面添加应用，但是不知道通信密钥，导致了通信失败，找到在data文件夹下生成的文件，打开 找到UC_KEY这个常量，就是对应的密钥，还有UC_APPID这个常量的值，要与ucenter后台应用对应的tipask应用ID相同，否则也会导致通信失败。
tipask 帮助文档
1 Apache下伪静态如何设置 
2 Nginx下伪静态如何设置 
3 安装后出现 
4 怎么把下级问题取消 
5 关于用户权限的疑问 
6 请问如何设置允许游客提问和回答 
7 首页的精彩推荐要怎么让他出现 
8在首页上显示已解决问题的代码 
9 数据库还原 备份问题
tipask windows2003 iis6.0 伪静态规则
[ISAPI_Rewrite]
# 3600 = 1 hour
CacheClockRate 3600RepeatLimit 32
RewriteRule ^(.*)/category/view/([0-9]+)\.html\?*(.*)$ $1/index\.php\?category/view/$2.html
RewriteRule ^(.*)/category/list/([0-9]+)\.html\?*(.*)$ $1/index\.php\?category/list/$2.html
RewriteRule ^(.*)/category/list/([0-9]+)\.html\?*(.*)$ $1/index\.php\?category/list/$2.html
RewriteRule ^(.*)/category/list/-1\.html\?*(.*)$ $1/index\.php\?category/list/-1/.html
RewriteRule ^(.*)/category/list/-1/([0-9]+)\.html\?*(.*)$ $1/index\.php\?category/list/-1/$2.html
RewriteRule ^(.*)/category/list/([0-9]+)/([0-9]+)\.html\?*(.*)$ $1/index\.php\?category/list/$2/$3/.html
RewriteRule ^(.*)/category/view/([0-9]+)/([0-9]+)\.html\?*(.*)$ $1/index\.php\?category/view/$2/$3/.html
RewriteRule ^(.*)/category/view/([0-9]+)/-1/([0-9]+)\.html\?*(.*)$ $1/index\.php\?category/view/$2/-1/$3/.html
RewriteRule ^(.*)/category/view/([0-9]+)/([0-9]+)/([0-9]+)\.html\?*(.*)$ $1/index\.php\?category/view/$2/$3/$4/.html
RewriteRule ^(.*)/category/view/([0-9]+)/-1\.html\?*(.*)$ $1/index\.php\?category/view/$2/-1/.html
RewriteRule ^(.*)/category/list/([0-9]+)/-1\.html\?*(.*)$ $1/index\.php\?category/list/$2/-1/.html
RewriteRule ^(.*)/user/scorelist/([0-9]+)\.html\?*(.*)$ $1/index\.php\?user/scorelist/$2.html
RewriteRule ^(.*)/user/code\.html\?*(.*)$ $1/index\.php\?user/code.html
RewriteRule ^(.*)/user/getpass\.html\?*(.*)$ $1/index\.php\?user/getpass.html
RewriteRule ^(.*)/user/register\.html\?*(.*)$ $1/index\.php\?user/register.html
RewriteRule ^(.*)/user/login\.html\?*(.*)$ $1/index\.php\?user/login.html
RewriteRule ^(.*)/user/logout\.html\?*(.*)$ $1/index\.php\?user/logout.html
RewriteRule ^(.*)/question/add\.html\?*(.*)$ $1/index\.php\?question/add.html
RewriteRule ^(.*)/question/search/1\.html\?*(.*)$ $1/index\.php\?question/search/1.html
RewriteRule ^(.*)/user/default\.html\?*(.*)$ $1/index\.php\?user/default.html
RewriteRule ^(.*)/user/profile\.html\?*(.*)$ $1/index\.php\?user/profile.html
RewriteRule ^(.*)/user/ask\.html\?*(.*)$ $1/index\.php\?user/ask.html
RewriteRule ^(.*)/user/uppass\.html\?*(.*)$ $1/index\.php\?user/uppass.html
RewriteRule ^(.*)/note/list\.html\?*(.*)$ $1/index\.php\?note/list.html
RewriteRule ^(.*)/note/view/([0-9]+)\.html\?*(.*)$ $1/index\.php\?note/view/$2.html
RewriteRule ^(.*)/user/score\.html\?*(.*)$ $1/index\.php\?user/score.html
RewriteRule ^(.*)/user/space/([0-9]+)\.html\?*(.*)$ $1/index\.php\?user/space/$2.html
RewriteRule ^(.*)/user/space/3/([0-9]+)\.html\?*(.*)$ $1/index\.php\?user/space/3/$2.html
RewriteRule ^(.*)/rss/list/([0-9]+)\.html\?*(.*)$ $1/index\.php\?rss/list/$2.html
RewriteRule ^(.*)/rss/category/([0-9]+)/-1\.html\?*(.*)$ $1/index\.php\?rss/category/$2/-1.html
RewriteRule ^(.*)/rss/question/([0-9]+)\.html\?*(.*)$ $1/index\.php\?rss/question/$2.html
RewriteRule ^(.*)/question/search/2\.html\?*(.*)$ $1/index\.php\?question/search/2.html
RewriteRule ^(.*)/index/help\.html\?*(.*)$ $1/index\.php\?index/help.html
RewriteRule ^(.*)/user/space/([0-9]+)/([0-9]+)\.html\?*(.*)$ $1/index\.php\?user/space/$2/$3.html
RewriteRule ^(.*)/user/answer\.html\?*(.*)$ $1/index\.php\?user/answer.html
RewriteRule ^(.*)/message/send\.html\?*(.*)$ $1/index\.php\?message/send.html
RewriteRule ^(.*)/message/personal\.html\?*(.*)$ $1/index\.php\?message/personal.html
RewriteRule ^(.*)/message/system\.html\?*(.*)$ $1/index\.php\?message/system.html
RewriteRule ^(.*)/message/outbox\.html\?*(.*)$ $1/index\.php\?message/outbox.html
RewriteRule ^(.*)/message/new\.html\?*(.*)$ $1/index\.php\?message/new.html
RewriteRule ^(.*)/question/add/([0-9]+)\.html\?*(.*)$ $1/index\.php\?question/add/$2.html
RewriteRule ^(.*)/question/view/([0-9]+)\.html\?*(.*)$ $1/index\.php\?question/view/$2.html
RewriteRule ^(.*)/question/adopt\.html\?*(.*)$ $1/index\.php\?question/adopt.html
RewriteRule ^(.*)/message/view/([0-9]+)\.html\?*(.*)$ $1/index\.php\?message/view/$2.html
RewriteRule ^(.*)/message/remove/([0-9]+)\.html\?*(.*)$ $1/index\.php\?message/remove/$2.html
RewriteRule ^(.*)/question/supply/([0-9]+)\.html\?*(.*)$ $1/index\.php\?question/supply/$2.html
RewriteRule ^(.*)/question/addscore/([0-9]+)\.html\?*(.*)$ $1/index\.php\?question/addscore/$2.html
RewriteRule ^(.*)/question/close\.html\?*(.*)$ $1/index\.php\?question/close.html
RewriteRule ^(.*)/question/answer\.html\?*(.*)$ $1/index\.php\?question/answer.html
RewriteRule ^(.*)/question/govote\.html\?*(.*)$ $1/index\.php\?question/govote.htmlRewriteRule ^(.*)/c-([0-9]+)\.html$ $1/index\.php\?category/view/$2.html
RewriteRule ^(.*)/l-([0-9]+)\.html$ $1/index\.php\?category/list/$2.html
RewriteRule ^(.*)/r-([0-9]+)\.html$ $1/index\.php\?category/recommend/$2.html
RewriteRule ^(.*)/q-([0-9]+)\.html$ $1/index\.php\?question/view/$2.html
RewriteRule ^(.*)/u-([0-9]+)\.html$ $1/index\.php\?user/space/$2.html
RewriteRule ^(.*)/us-([0-9]+)\.html$ $1/index\.php\?user/scorelist/$2.html
RewriteRule ^(.*)/c-([0-9]+)/([0-9]+)\.html$ $1/index\.php\?c-$2/$3.html
RewriteRule ^(.*)/c-([0-9]+)/all/([0-9]+)\.html$ $1/index\.php\?c-$2/all/$3.html
RewriteRule ^(.*)/c-([0-9]+)/all\.html$ $1/index\.php\?c-$2/all\.html
RewriteRule ^(.*)/c-([0-9]+)/([0-9]+)/([0-9]+)\.html$ $1/index\.php\?c-$2/$3/$4.html
RewriteRule ^(.*)/c-([0-9]+)/([0-9]+)\.html$ $1/index\.php\?c-$2/$3.html
RewriteRule ^(.*)/l-([0-9]+)/([0-9]+)\.html$ $1/index\.php\?l-$2/$3.html
RewriteRule ^(.*)/u-([0-9]+)\.html$ $1/index\.php\?u-$2.html
RewriteRule ^(.*)/r-([0-9]+)\.html$ $1/index\.php\?r-$2.htmlRewriteRule ^(.*) \.html$ $1/index\.php\?gift.html
RewriteRule ^(.*)/user/favorite\.html$ $1/index\.php\?user/favorite.htmlRewriteRule ^(.*)/user/logout\.html\?*(.*)$ $1/index\.php\?user/logout.html