简体   繁体   English

ColdFusion 11仅在一个目录上引发500错误

[英]ColdFusion 11 throws a 500 error on only one directory

I'm running CF11 on a Windows 2012 R2 server. 我在Windows 2012 R2服务器上运行CF11。 The site (migrated from windows 2003 running CF9) essentially runs great with the exception of 1 directory that I'm getting a 500 error. 该站点(从运行CF9的Windows 2003迁移)基本上运行良好,但1个目录却出现500错误。 When I run www.site.com/test/index.html it shows the page, but www.site.com/test/index.cfm throws the 500 error. 当我运行www.site.com/test/index.html时,它会显示页面,但是www.site.com/test/index.cfm会引发500错误。 I removed the application.cfc and index.cfm has 4 characters... "test" and it throws the error. 我删除了application.cfc和index.cfm,其中有4个字符...“测试”,并引发错误。

I can find nothing unusual about the directory in IIS (8.5) not anything unusual in CF Admin. 我在IIS(8.5)中找不到关于该目录的任何异常信息,而在CF Admin中则没有发现任何异常信息。

I'm 100% perplexed! 我百分百困惑! Any help is appreciated. 任何帮助表示赞赏。

I found the issue. 我发现了问题。 I should have been clear that it was www.site.com/API/ . 我应该清楚地知道它是www.site.com/API/ We don't use REST components so I commented the following out of the web.xml file and restarted CF and it works fine: 我们不使用REST组件,因此我从web.xml文件中注释了以下内容,然后重新启动CF,它工作正常:

 <servlet-mapping id="coldfusion_mapping_16">
   <servlet-name>CFRestServlet</servlet-name>
   <url-pattern>/api/*</url-pattern>
</servlet-mapping>

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Internet Explorer 11(IE 11)在DOMParser中使用parseFromString引发语法错误 - Internet Explorer 11 (IE 11) Throws Syntax Error using parseFromString in DOMParser 仅从Windows运行时才出现500内部错误(7) - 500 internal error only when running from windows (7) Coldfusion 11安装成功,但服务不会启动 - Coldfusion 11 install successful but service wont start D3DX11CompileFromFile返回S_OK,但CreateVertexShader引发错误 - D3DX11CompileFromFile returns S_OK but CreateVertexShader throws error 托管转移后的ColdFusion错误 - ColdFusion error after hosting transfer 如何将文件数组(3,500)从目录 A 复制到目录 B - How to copy array of files (3,500) from directory A to Directory B 使用 recursive_directory_iterator 时抛出运行时库错误 abort()<filesystem> 库 C++ - run time library error abort() throws while using recursive_directory_iterator from <filesystem> library C++ CertCreateCertificateChainEngine在Windows 7中引发错误 - CertCreateCertificateChainEngine throws an error in windows 7 C#访问winevt目录会抛出DirectoryNotFoundException - C# accessing winevt directory throws DirectoryNotFoundException unity 500内部服务器错误 - unity 500 internal server error
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM