错误500 IIS获取ajax.php

时间:2018-04-23 13:46:55

标签: php iis

我遇到了以下问题我正在使用带有apache IIS的服务器而且我通过get获得了响应请求中的错误

webconfig:

                <rule name="Imported Rule 15" stopProcessing="true">
                <match url="^aj/([^/.]+)/?$" ignoreCase="false" />
                <conditions>
                    <add input="{REQUEST_FILENAME}" matchType="IsFile" ignoreCase="false" negate="true" />
                    <add input="{REQUEST_FILENAME}" matchType="IsDirectory" ignoreCase="false" negate="true" />
                </conditions>
                <action type="Rewrite" url="ajax.php?type={R:1}&amp;first={R:2}"  />
            </rule>

            <rule name="Imported Rule 16" stopProcessing="true">
                <match url="^aj/([^/.]+)/([^/.]+)/?$" ignoreCase="false" />
                <action type="Rewrite" url="ajax.php?type={R:1}&amp;first={R:2}" appendQueryString="true" />
            </rule>
            <rule name="Imported Rule 17" stopProcessing="true">
                <match url="^aj/([^/.]+)/([^/.]+)/([^/.]+)/?$" ignoreCase="false" />
                <action type="Rewrite" url="ajax.php?type={R:1}&amp;first={R:2}&amp;second={R:3}" appendQueryString="true" />
            </rule>

我尝试通过更改ajax.php?type={R:1}&amp;first={R:2}ajax.php?type={R:1}&amp;来尽可能地修复几种方法 我不能让这个上传系统工作,我做错了什么?

0 个答案:

没有答案