Php 500.0表单发布时重写服务器错误

Php 500.0表单发布时重写服务器错误,php,post,rewrite,fiddler,Php,Post,Rewrite,Fiddler,运行PHP5.3的Windows2008R2服务器 我已经为我们的网站工作的IIS的URL重写 重写是: <?xml version="1.0" encoding="UTF-8"?> <configuration> <system.webServer> <rewrite> <rules> <rule name="Imported Rule 1" sto

运行PHP5.3的Windows2008R2服务器

我已经为我们的网站工作的IIS的URL重写

重写是:

<?xml version="1.0" encoding="UTF-8"?>
<configuration>
    <system.webServer>
        <rewrite>
            <rules>
                <rule name="Imported Rule 1" stopProcessing="true">
                    <match url="^(.*)$" ignoreCase="false" />
                    <conditions logicalGrouping="MatchAll">
                        <add input="{R:1}" pattern="^(images|documents|system|themes|favicon\.ico|robots\.txt|index\.php)" negate="true" />
                    </conditions>
                    <action type="Rewrite" url="/index.php/{R:1}" />
                </rule>
            </rules>
        </rewrite>
    </system.webServer>
</configuration>

是什么原因导致index.php主文件中的变量过帐到500

只是为了完成,问题在于服务器如果出现任何错误,会给出500个错误,而在CMS中有两个问题:

1) 我必须正确设置SMTP配置

然后我得到了一张空白页


2) 发生的事情是,CMS在电子邮件中使用/n作为换行符,在Windows框中,换行符的等价物是/r/n……因此,在HTML电子邮件配置中更改后,一切正常

只是为了完成,问题在于服务器如果出现任何错误,会给出500个错误,而在CMS中有两个问题:

1) 我必须正确设置SMTP配置

然后我得到了一张空白页


2) 发生的事情是,CMS在电子邮件中使用/n作为换行符,在Windows框中,换行符的等价物是/r/n……因此,在HTML电子邮件配置中更改后,一切正常

服务器的错误日志中有任何内容吗?应该有更多的细节。这是在该调用的错误日志中显示的:2011-01-12 17:51:04 10.64.181.170 POST/-80-10.64.181.170 Mozilla/4.0+(兼容;+MSIE+8.0;+Windows+NT+6.1;+WOW64;+Trident/4.0;+SLCC2;+NET+CLR+2.0.50727;+NET4.0C;+NET4.0E)500 0 94534 PHP日志中没有任何内容。服务器的错误日志中有任何内容吗?应该有更多的细节。这是在该调用的错误日志中显示的:2011-01-12 17:51:04 10.64.181.170 POST/-80-10.64.181.170 Mozilla/4.0+(兼容;+MSIE+8.0;+Windows+NT+6.1;+WOW64;+Trident/4.0;+SLCC2;+NET+CLR+2.0.50727;+NET4.0C;+NET4.0E)500 0 258 94534 PHP日志中没有任何内容。
POST http://stage.domain.edu/ HTTP/1.1
Accept: image/jpeg, image/gif, image/pjpeg, application/x-ms-application, application/xaml+xml, application/x-ms-xbap
Referer: http://stage.domain.edu/contact
Accept-Language: en-US
User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET4.0C; .NET4.0E)
Content-Type: application/x-www-form-urlencoded
Accept-Encoding: gzip, deflate
Host: stage.domain.edu
Content-Length: 519
Connection: Keep-Alive
Pragma: no-cache
Cookie: exp_last_visit=978203019; exp_last_activity=1293563019; exp_tracker=a%3A5%3A%7Bi%3A0%3Bs%3A7%3A%22contact%22%3Bi%3A1%3Bs%3A5%3A%22index%22%3Bi%3A2%3Bs%3A7%3A%22contact%22%3Bi%3A3%3Bs%3A5%3A%22index%22%3Bi%3A4%3Bs%3A7%3A%22contact%22%3B%7D; exp_last_visit=1293563019; exp_last_activity=1294854559

ACT=27&RET=&URI=contact&recipients=HJAUumiTKThex9cAcYNq%2FyBQNLeXkIqACdl3EgaimNM%3D&user_recipients=7f73421623ceb94b5d06abe41d8663dd&charset=&redirect=&replyto=&site_id=2&subject=Contact+Form&to=sxxxxxx@xxxxx.edu&required%5B%5D=Full+Name%3A&required%5B%5D=stephanie&required%5B%5D=Phone%3A&required%5B%5D=954520-1176&sender=E-mail%3A&from=sxxxxxxx@gmail.com&required%5B%5D=Zip+Code%3A&required%5B%5D=33073&message=This+information+was+submitted+via+the+contact+form.&submit.x=72&submit.y=14