web.config
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<directoryBrowse enabled="false"/>
<defaultDocument>
<files>
<clear/>
<add value="index.html"/>
<add value="index.htm"/>
<add value="index.php"/>
<add value="index.aspx"/>
</files>
</defaultDocument>
<rewrite>
<rules>
<rule name="MODX" patternSyntax="Wildcard">
<match url="*"/>
<conditions>
<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>
MODXEvolution用のweb.configの内容