II6为网站设置了伪静态不生效

问:已经为127.0.0.1安装了ReWrite重写模块,并在sclongtingzs.com网站中的根目录的httpd.ini和other文件夹中的httpd.conf文件添加了该网站对应的重写规则,经过几次重启IIS服务仍然不生效。
,II6为网站设置了伪静态不生效

答:您好,部分伪静态规则可能需要进行微小的规则调整才可以生效,您可以参考:https://www.west.cn/faq/list.asp?unid=639 进行配置。如果不行可以尝试下建站助手的伪静态规则设置功能,参考:https://www.west.cn/faq/list.asp?unid=650

您当前是独立IP主机,如需我司进入查看,请重新提交正确类型独立IP主机工单,类型选择:??【主机租用/vps、云主机】 -> 【站点设置】 -> 伪静态设置/网站301跳转/404错误(一个站点),?? 目前您有2次金牌服务,提交此工单我司会按照金牌服务标准为您处理,谢谢。

问:RegistrationName=Longshui Chen
RegistrationCode=7Z3NU-7MAP5-JZDPH-PR9GK
[ISAPI_Rewrite]
CacheClockRate 3600
RepeatLimit 32
#请在下面加入自己的代码例如
RewriteCond %{QUERY_STRING}^(.*)$
RewriteRule ^/wkroom_index.html$ /index.php/Home/Wkroom/index.html
RewriteCond %{QUERY_STRING}^(.*)$
RewriteRule ^/wkroom_cat.html$ /index.php/Home/Wkroom/cat.html
RewriteCond %{QUERY_STRING}^(.*)$
RewriteRule ^/wkroom_newhouse.html$ /index.php/Home/Wkroom/newhouse.html
RewriteCond %{QUERY_STRING}^(.*)$
RewriteRule ^/wkroom_newhouse.html$ /index.php/Home/Wkroom/newhouse.html
RewriteCond %{QUERY_STRING}^(.*)$
RewriteRule ^/design_index.html$ /index.php/Home/Design/index.html
RewriteCond %{QUERY_STRING}^(.*)$
RewriteRule ^/room_index.html$ /index.php/Home/Room/index.html
RewriteCond %{QUERY_STRING}^(.*)$
RewriteRule ^/team_index.html$ /index.php/Home/Team/index.html
RewriteCond %{QUERY_STRING}^(.*)$
RewriteRule ^/team_position_([0-9] ).html$ /index.php/Home/Team/index/position_id/$1.html
RewriteCond %{QUERY_STRING}^(.*)$
RewriteRule ^/team_wklife_([0-9] ).html$ /index.php/Home/Team/index/wklife_id/$1.html
RewriteCond %{QUERY_STRING}^(.*)$
RewriteRule ^/team_department_([0-9] ).html$ /index.php/Home/Team/index/department_id/$1.html
RewriteCond %{QUERY_STRING}^(.*)$
RewriteRule ^/help.html$ /index.php/Home/help/index.html
RewriteCond %{QUERY_STRING}^(.*)$
RewriteRule ^/news.html$ /index.php/home/News/index.html
RewriteCond %{QUERY_STRING}^(.*)$
RewriteRule ^/news_([0-9] ).html$ /index.php/home/News/info/id/$1.html
RewriteCond %{QUERY_STRING}^(.*)$
RewriteRule ^/about.html$ /index.php/Home/About/index.html
RewriteCond %{QUERY_STRING}^(.*)$
RewriteRule ^/culure.html$ /index.php/Home/About/culure.html
RewriteCond %{QUERY_STRING}^(.*)$
RewriteRule ^/contact.html$ /index.php/Home/About/contact.html
RewriteCond %{QUERY_STRING}^(.*)$
RewriteRule ^/recruit.html$ /index.php/Home/About/recruit.html
RewriteCond %{QUERY_STRING}^(.*)$

问:我是按照你们的教程来的,怎么还是不生效

答:您好,非常抱歉给您带来的不便,我们这边也非专业的程序人员,您可以把规则部署好后单条规则逐渐调整,因为每个程序不一样无法只从规则上判断正误。如您的配置没有问题,可能正则表达式规则需要微调。您可以提交??【主机租用/vps、云主机】 -> 【站点设置】 -> 伪静态设置/网站301跳转/404错误(一个站点),目前您有2次金牌服务,提交此类问题我们可以登录您的服务器调整,处理扣除金牌服务后是免费的,谢谢。?

更多关于云服务器域名注册虚拟主机的问题,请访问西部数码官网:www.west.cn
赞(0)
声明:本网站发布的内容(图片、视频和文字)以原创、转载和分享网络内容为主,如果涉及侵权请尽快告知,我们将会在第一时间删除。文章观点不代表本网站立场,如需处理请联系客服。电话:028-62778877-8306;邮箱:fanjiao@west.cn。本站原创内容未经允许不得转载,或转载时需注明出处:西部数码知识库 » II6为网站设置了伪静态不生效

登录

找回密码

注册