X3.2 gbk 删除的根目录的web.config有影响吗
X3.2 gbk 删除的根目录的web.config有影响吗,我因为找网站的错误,将web.config 误删除了(中间备份了,但是程序死了)有影响的话,请大家赐赏几个规格 这个是伪静态规则的。如果论坛开启伪静态,那么会打不开的,可以登录后台取消伪静态规则,或者重新上传个规则 正常情况下有没有web.config文件都不影响网站的使用,
如果放置了规则,要再恢复的话,重传一个吧,如:
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<rewrite>
<rules>
<rule name="portal_topic">
<match url="^(.*/)*topic-(.+).html\?*(.*)$" />
<action type="Rewrite" url="{R:1}/portal.php\?mod=topic&amp;topic={R:2}&amp;{R:3}" />
</rule>
<rule name="portal_article">
<match url="^(.*/)*article-(+)-(+).html\?*(.*)$" />
<action type="Rewrite" url="{R:1}/portal.php\?mod=view&amp;aid={R:2}&amp;page={R:3}&amp;{R:4}" />
</rule>
<rule name="forum_forumdisplay">
<match url="^(.*/)*forum-(\w+)-(+).html\?*(.*)$" />
<action type="Rewrite" url="{R:1}/forum.php\?mod=forumdisplay&amp;fid={R:2}&amp;page={R:3}&amp;{R:4}" />
</rule>
<rule name="forum_viewthread">
<match url="^(.*/)*thread-(+)-(+)-(+).html\?*(.*)$" />
<action type="Rewrite" url="{R:1}/forum.php\?mod=viewthread&amp;tid={R:2}&amp;extra=page%3D{R:4}&amp;page={R:3}&amp;{R:5}" />
</rule>
<rule name="group_group">
<match url="^(.*/)*group-(+)-(+).html\?*(.*)$" />
<action type="Rewrite" url="{R:1}/forum.php\?mod=group&amp;fid={R:2}&amp;page={R:3}&amp;{R:4}" />
</rule>
<rule name="home_space">
<match url="^(.*/)*space-(username|uid)-(.+).html\?*(.*)$" />
<action type="Rewrite" url="{R:1}/home.php\?mod=space&amp;{R:2}={R:3}&amp;{R:4}" />
</rule>
<rule name="home_blog">
<match url="^(.*/)*blog-(+)-(+).html\?*(.*)$" />
<action type="Rewrite" url="{R:1}/home.php\?mod=space&amp;uid={R:2}&amp;do=blog&amp;id={R:3}&amp;{R:4}" />
</rule>
<rule name="forum_archiver">
<match url="^(.*/)*(fid|tid)-(+).html\?*(.*)$" />
<action type="Rewrite" url="{R:1}/index.php\?action={R:2}&amp;value={R:3}&amp;{R:4}" />
</rule>
<rule name="plugin">
<match url="^(.*/)*(+*)-(+).html\?*(.*)$" />
<action type="Rewrite" url="{R:1}/plugin.php\?id={R:2}:{R:3}&amp;{R:4}" />
</rule>
</rules>
</rewrite>
</system.webServer>
</configuration>
复制代码 你要联系虚拟主机空间商 一般不要删除的
页:
[1]