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

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

推荐内容

为什么我的根目录文件无法访问??
伪静态困扰了好久,请教各位大侠指点
关于2.5.9版本的伪静态设置问题
你的是iis7.5的子目录伪静态写好了么?能给我看看么,我搞了好多天不行啊
wordpress里面怎么设置静态页面预览
关于伪静态如何解决不存在页面返回200的问题
伪静态后用户页面无法访问,提示用户不存在?
用伪静态第二种规则,点击topic的分页会跳到其他栏目去还有路由里面会多了.html这个
文章规则的规则应该如何定义?
伪静态倒是成功了,但是很多地方没有办法点击