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

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

相关问题

推荐内容

征集wc网站优化的高手
求WeCenter 伪静态规则 本人按官网设置失败
开启伪静态了,后台登录不了怎么解决呢?
阿里ace怎么开启伪静态啊?
有关伪静态的一个小问题
官网设置了伪静态?
win2003,II6伪静态分享
IIS6.0 伪静态好了,发现上传图片正常,上传附件,英文名字正常,中文名字附件上传后,不显示附件名,且下载格式成为一传字符!
伪静态开启后 首页无法正常显示是什么原因?
我服务器不支持httpd.ini只可以用web.config做伪静态