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

谁能贴一个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下伪静态规则参考
httpd.ini在哪个目录下,iis6的伪静态怎么处理
开启伪静态后话题、查看用户带有中文的地方不能正常显示
IIS6伪静态设置尝试网站所有的办法,依然不成功,我的是2.5.9程序
2.5.15版本下的伪静态无法打开。
伪静态的几个问题 为什么我的伪静态这么多问题
求问伪静态如何设置?主要是为了实现qq登录
求救,用了伪静态其他页面都可以打开,就是发现页面打不开。
伪静态太难搞了,死活不成功。
VPS安装两个wecenter程序,伪静态怎么设置?