Discuz!官方免费开源建站系统

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

[求助] 请教一个iis下绑定子目录的问题,谢谢

[复制链接]
jaord 发表于 2010-1-1 13:55:42 | 显示全部楼层 |阅读模式
我想把aaa.xxx.com绑定在我服务器根目录下的aaa目录,请问一下web.config文件改如何写?
以下是我现在的配置文件。

<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<rewrite>
            <rules>
                <rule name="ImportedRule1">
                    <match url="^(([w]+/?)+)(?!.html|.js|.css|.gif|.png|.jpg|.ico|.txt)$" negate="false" ignoreCase="true" />
                    <action type="Rewrite" url="index.php/{R:1}" />
                    <conditions logicalGrouping="MatchAny">
                    </conditions>
                </rule>
            </rules>
        </rewrite>
        <defaultDocument>
            <files>
                <remove value="Default.htm" />
                <add value="index.php" />
            </files>
        </defaultDocument>
        <handlers>
            <add name="PHP" path="*.php" verb="*" modules="IsapiModule" scriptProcessor="C:\php\sapi\php4isapi.dll" resourceType="Unspecified" />
        </handlers>
    </system.webServer>

    <system.web>
        <profile enabled="false" />
    </system.web>
</configuration>
2295217 发表于 2010-1-1 16:32:34 | 显示全部楼层
+QQ  626555042
回复

使用道具 举报

 楼主| jaord 发表于 2010-1-1 17:29:40 | 显示全部楼层
楼上的 加你了~
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|Discuz! 官方站 ( 皖ICP备16010102号 )star

GMT+8, 2024-9-29 23:34 , Processed in 0.850856 second(s), 16 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

快速回复 返回顶部 返回列表