本篇文章给大家谈谈xiuno论坛演示,以及yuexian论坛对应的知识点,希望对各位有所帮助,不要忘了收藏本站喔。
本文目录一览:
1、现在有什么好一点的轻论坛系统
现在轻论坛系统很多,根据个人需要来选择吧
Startbbs,一款国产个人兴趣分享的轻论坛程序,采用PHP+MYSQL架构
YouBBS,也是国内的一款轻论坛程序,默认风格类似V2EX
Xiuno,是一款PHP适应高负载的轻论坛程序,默认界面直接是以列表展示
vBulletin,一款国外知名且使用量较大的轻论坛程序
Discourse,是一款基于Ruby on Rails 和 Ember.js 开发,数据库使用 PostgreSQL 和 Redis程序,适合用于轻论坛使用。
WeCenter,是一款专注于知识分享、交流的社区程序
2、如何设置Xiuno BBS URL-Rewrite
XiunoBBS 只需要一条规则:
将 *.htm 转发到 index.php?*.htm 即可。
Xiuno BBS 2.1 需要编辑 conf/conf.php,Xiuno BBS 3.0 不需要 1、2 步骤。
1. 编辑 conf/conf.php 中的 'urlrewrite' = 1,
2. 清空 tmp 目录
3. 修改 Web Server 的 Rewrite 规则,以下为各种Web Server 的样例:
4. 重启 web server
Nginx:
打开 nginx 配置文件 /usr/local/nginx/conf/nginx.conf 找到对应的虚拟主机配置处,追加加粗行:
location / {
rewrite "^(.*)/(.+?).htm$" $1/index.php?$2.htm last;
if (!-e $request_filename) {
rewrite ^(.*)$ /index.php?s=$1 last;
}
index index.html index.htm index.php;
root /data/wwwroot/xiuno.com;
}
然后重新启动 nginx: service nginx restart
Apache:
vim /etc/httpd/conf/httpd.conf
Directory d:/xiuno.com
Options FollowSymLinks ExecCGI Indexes
AllowOverride all
Order deny,allow
Allow from all
Satisfy all
/Directory
NameVirtualHost *:80
Apache .htaccess
如果Appache 支持 .htaccess,那么可以编辑 .htaccess 文件放置于根目录下:
IfModule mod_rewrite.c
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^admin/(.*)\.htm$ /admin/index.php?$1.htm [L]
RewriteRule ^mobile/(.*)\.htm$ /mobile/index.php?$1.htm [L]
RewriteRule ^(.*)\.htm$ /index.php?$1.htm [L]
/IfModule
Apache httpd.conf
如果将规则直接放入 httpd.conf 则需要在前面加 / ,看来 Apache 也反人类:
IfModule mod_rewrite.c
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^/admin/(.*)\.htm$ /admin/index.php?$1.htm [L]
RewriteRule ^/mobile/(.*)\.htm$ /mobile/index.php?$1.htm [L]
RewriteRule ^/(.*)\.htm$ /index.php?$1.htm [L]
/IfModule
SAE环境,根目录建立 config.yaml 文件:
appname: axiuno
version: 1
handle:
- rewrite: if ( !is_dir() !is_file() path ~ "admin/(.*.htm)" ) goto "admin/index.php?%1"
- rewrite: if ( !is_dir() !is_file() path ~ "mobile/(.*.htm)" ) goto "mobile/index.php?%1"
- rewrite: if ( !is_dir() !is_file() path ~ "[^/?].htm" ) goto "index.php?%1"
IIS:
1. 下载 Rewrite.zip
2. 解压到 c:\Rewrite
3. 在IIS的Isapi上添加这个筛选器, 筛选器名称Rewrite,可执行文件选择 Rewrite.dll
4. 重新启动IIS
5. httpd.ini 是配置文件,如果您了解Rewrite 规则,可以直接对其进行编辑,以下为包内设置好的Xiuno BBS的规则:
[ISAPI_Rewrite]
# 3600 = 1 hour
CacheClockRate 3600
RepeatLimit 32
#RewriteRule .*\.(?:gif|jpg|png|css|js|txt|jpeg|swf|flv) $0 [I,L]
#RewriteRule /httpd(?:\.ini|\.parse\.errors) / [F,I,O]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^/mobile(.*)\.htm /mobile/index.php?$1.htm [L]
RewriteRule ^/admin(.*)\.htm /admin/index.php?$1.htm [L]
RewriteRule ^(.*)\.htm /index.php?$1.htm [L]
另外一种 IIS Rewrite:
[ISAPI_Rewrite]
# 3600 = 1 hour
CacheClockRate 3600
RepeatLimit 32
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^/mobile/(.*)\.htm /mobile/$1.htm [L]
RewriteRule ^/admin/(.*)\.htm /admin/$1.htm [L]
RewriteRule ^(.*)\.htm$ /$1.htm [L]
3、xiunobbs服务器要求高吗
类似QQ的话:
1 服务器只负责用户的登录、退出
2 用户聊天自行建立连接,udp打洞才能解决部分内网用户实现p2p(当然,是服务器帮助它们决定彼此端口的)
3 服务器如果不传输其它的,节约这用,那10m独享应该能支持上千用户同时在线,毕竟你要维护用户是否在线的状态,用户是随时下线(甚至死机),但实际上服务器的瓶颈可能在别处,比如你写的服务器端的并发连接数上线(有的连接有能正常释放不了),你机器的工作负载等等。如果几十个人弄着玩的话,1m够了,这东西弄着玩和商业应用的差别很大,比如稳定性,还有人多了是集群性的方案,就不是这么简单的问题了。
4、xiuno bbs 2.1.0论坛程序安装中需要输入的管理员密码是哪个
就是你在安装的时候输入的账号和密码啊
你想输入什么就输入什么,前提是记住账号和密码,这样在安装完成之后需要登录管理设置的
xiuno论坛演示的介绍就聊到这里吧,感谢你花时间阅读本站内容,更多关于yuexian论坛、xiuno论坛演示的信息别忘了在本站进行查找喔。