<rule name="austin.etreecycle.co.uk" stopProcessing="true">
<match url=".*" />
<conditions>
<add input="{HTTP_HOST}" pattern="^austin.etreecycle.co.uk$" />
<add input="{PATH_INFO}" pattern="^/austincollins/" negate="true" />
</conditions>
<action type="Rewrite" url="\austincollins\{R:0}" />
</rule>
此外:
当你去austin.etreecycle.co.uk时,它会在/ austincollins /中显示索引文件。这就是为什么我不明白你为什么要去austin.etreecycle.co.uk/austincollins/dev/而不仅仅是/ dev /.