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

谁能贴一个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 人关注

推荐内容

二级目录安装wecenter,rewrite到根目录怎么做?
最近不忙我又回来啦,附伪静态规则(全)
伪静态一致无法成功,升级2.5正式版一样如此,怎么办?
2.23手机版只要开启伪静态,问题页面就打不开少了,地址栏少了一下?号
【已解决】这样的伪静态规格怎么写?
急求伪静态教程!!请前辈帮忙!!
伪静态设置之后,其他页面都可正常访问,但是xxx.com/explore/不能正常访问,还是只能xxx.com/?/explore/访问。
为啥伪静态编辑那里一刷新规则就不见了?
win2003,II6伪静态分享
wecenter的伪静态规则;