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

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

推荐内容

IIS6下伪静态规则参考
伪静态配置好复杂,教程里面的文件一个没找到,怎么办呀
开启伪静态后,最新动态及其它无法加载,只有个图标旋转一直处于等待状态中
急用急用急用急用
伪静态倒是成功了,但是很多地方没有办法点击
控制全局的静态页面是哪一个呀?初入新手不要介意
翻页出现404错误 Win环境下!
IIS6伪静态成功,其它页面都能正常访问,就是发现页的"推荐"热门"等待回复"访问不了
关于伪静态的一个奇怪的BUG的解决方法
有关伪静态的一个小问题