国产一级黄毛片,亚洲成av人亚洲成av人,色呦呦呦呦呦呦一级黄片,操黑丝美女小穴

框分類:人性化的同城分類信息系統(tǒng),我們永遠站在用戶的角度!一次性購買,終身升級!    [交流論壇]
發(fā)新話題 回復該主題

老大 這是主機屋虛擬主機的偽靜態(tài)說明,老大給弄個偽靜態(tài)我傳一... [復制鏈接]

1#
網(wǎng)址:http://www.zhujiwu.com/help/content.asp?id=627 
2015/3/8    
2015/3/8    

1、wordpress偽靜態(tài)規(guī)則(下載:)

新建web.config文件,添加以下代碼,保存后上傳到web根目錄中()

<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<rewrite>
<rules>
<rule name="category">
<match url="category/?(.*)" />
<conditions logicalGrouping="MatchAll" trackAllCaptures="false" />
<action type="Rewrite" url="/index.php?category_name={R:1}" appendQueryString="false" logRewrittenUrl="false" />
</rule>
<rule name="tags">
<match url="tag/?(.*)" />
<conditions logicalGrouping="MatchAll" trackAllCaptures="false" />
<action type="Rewrite" url="index.php?tag={R:1}" />
</rule>
<rule name="Main Rule" stopProcessing="true">
<match url=".*" />
<conditions logicalGrouping="MatchAll" trackAllCaptures="false">
<add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
<add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
</conditions>
<action type="Rewrite" url="index.php/{R:0}" />
</rule>
<rule name="wordpress" patternSyntax="Wildcard">
<match url="*" />
<conditions logicalGrouping="MatchAll" trackAllCaptures="false">
<add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
<add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
</conditions>
<action type="Rewrite" url="index.php" />
</rule></rules>
</rewrite>
</system.webServer>
</configuration>

2.discuss論壇偽靜態(tài)規(guī)則:

<?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-([0-9]+)-([0-9]+).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+)-([0-9]+).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-([0-9]+)-([0-9]+)-([0-9]+).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-([0-9]+)-([0-9]+).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-([0-9]+)-([0-9]+).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)-([0-9]+).html\?*(.*)$" />
<action type="Rewrite" url="{R:1}/index.php\?action={R:2}&amp;value={R:3}&amp;{R:4}" />
</rule>
</rules>
</rewrite>
</system.webServer>
</configuration>

新版?zhèn)戊o態(tài)文件不再是httpd.ini 保存相對應偽靜態(tài)規(guī)則文件為web.config到根目錄中,老版本主機還是用httpd.ini

區(qū)別老版本與新版本區(qū)別,可以上傳服務器探針查看iis版本,新版iis為8.5 老版本iis為6.0


最后編輯神的好孩子 最后編輯于 2016-06-22 13:05:28
www.dongying5.com 東營信息網(wǎng)
TOP
2#

哦 ii7的方法適用
www.dongying5.com 東營信息網(wǎng)
TOP
發(fā)新話題 回復該主題
定兴县| 永安市| 怀仁县| 绩溪县| 吐鲁番市| 郁南县| 漳浦县| 迭部县| 宁河县| 阿坝县| 平山县| 克东县| 清丰县| 开江县| 贵定县| 当雄县| 丰宁| 三原县| 延长县| 鹤山市| 那坡县| 新乡市| 固阳县| 章丘市| 汉寿县| 浦江县| 旬阳县| 宜阳县| 新宾| 普陀区| 嘉祥县| 那坡县| 琼结县| 无极县| 利川市| 伊宁市| 南和县| 汝州市| 辉南县| 金湖县| 博湖县|