该问题已被锁定!
8
关注
5120
浏览

谁能贴一个WeCenter 3.0.2的伪静态规则?

AI智能回复搜索中,请稍后...

查看全部 4 个回答

openwebmail 初级会员 用户来自于: 江苏省苏州市
2015-01-06 10:02
我是使用 Linux 的, 我的配置如下: 修改配置文件: /etc/apache2/sites-available$ sudo vi 000-default.conf
	
		Options Indexes FollowSymLinks MultiViews
		AllowOverride All #允许 rewrite
		Order allow,deny
		allow from all
	
执行 sudo a2enmod rewrite sudo service apache2 reload 在网站安装目前下新增文件: vi ./.htaccess

RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php/$1 [QSA,PT,L]
  
在网管理后台配置规则:
  /home/explore/===/explore/
/home/explore/(:any)===/explore/(:any)
/home/explore/category-(:num)===/category/(:num)
/account/login/===/login/
/account/logout/===/logout/
/account/setting/(:any)/===/setting/(:any)/
enjoy

关于作者

问题动态

发布时间
2015-01-06 09:42
更新时间
2015-01-29 15:17
关注人数
8 人关注

相关问题

卖一个域名ookw.com
微信如何连接wecenter?
发现一个小BUG,搜索输入框class重复了
请问WeCenter好一点的手机端模板有吗
sae上正常安装了WeCenter,可以上传文件,但上传的头像无法显示
WeCenter2.1.1和GBK DZ X3整合成功后不能同步登录
二级目录安装wecenter,rewrite到根目录怎么做?
wecenter 新版本3-1-3安装后无法登录
(问题已解决)WeCenter 2.2.7伪静态问题请教
设置成短地址,百度返回代码302 请问如何修改?

推荐内容

我是新手,请问伪静态的好处是什么?
伪静态设置之后,其他页面都可正常访问,但是xxx.com/explore/不能正常访问,还是只能xxx.com/?/explore/访问。
收藏按钮问题
做了伪静态后,文章翻页出现404,有没有已经解决的?
iis7.5 子目录下的伪静态规则
Rewrite 静态 服务器应该填写什么规则
关于伪静态如何解决不存在页面返回200的问题
自定义url规则后分页网址的问题
求iis7 web.config 伪静态规则 谁能分享下 谢谢
伪静态后首页显示404是怎么回事?