Cakephp路由在IIS服务器中不工作
我已经在IIS服务器上托管了我的Cakephp应用程序。在这里举行—— Css和javascript工作正常,但所有页面的路由仅显示主页。就像当页面显示主页,但它的实际页面没有显示 My web.config文件代码-Cakephp路由在IIS服务器中不工作,php,cakephp,iis,iis-7,routing,Php,Cakephp,Iis,Iis 7,Routing,我已经在IIS服务器上托管了我的Cakephp应用程序。在这里举行—— Css和javascript工作正常,但所有页面的路由仅显示主页。就像当页面显示主页,但它的实际页面没有显示 My web.config文件代码- <configuration> <system.webServer> <rewrite> <rules> <clear/> <rule na
<configuration>
<system.webServer>
<rewrite>
<rules>
<clear/>
<rule name="Imported Rule 0" stopProcessing="true">
<match url="^(img|css|files|js)(.*)$"></match>
<action type="Rewrite" url="app/webroot/{R:1}{R:2}" appendQueryString="false"></action>
</rule>
<rule name="Imported Rule 1" stopProcessing="true">
<match url="^(.*)$" ignoreCase="false" />
<conditions logicalGrouping="MatchAll">
<add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
<add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
</conditions>
<action type="Rewrite" url="index.php?url={R:1}" appendQueryString="true" />
</rule>
<rule name="Imported Rule 2" stopProcessing="true">
<match url="^$" ignoreCase="false" />
<action type="Rewrite" url="app/webroot/" />
</rule>
<rule name="Imported Rule 3" stopProcessing="true">
<match url="(.*)" ignoreCase="false" />
<action type="Rewrite" url="app/webroot/{R:1}" />
</rule>
<rule name="Imported Rule 4" stopProcessing="true">
<match url="^(.*)$" ignoreCase="false" />
<conditions logicalGrouping="MatchAll">
<add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
<add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
</conditions>
<action type="Rewrite" url="index.php?url={R:1}" appendQueryString="true" />
</rule>
</rules>
</rewrite>
</system.webServer>
</configuration>
你能告诉我我能为工作做些什么吗