Status/Resolution/Reason: Closed/Won't Fix/TooManyChanges
Reporter/Name(from Bugbase): Mike Collins / Mike Collins (Mike Collins)
Created: 02/20/2012
Components: Web Container (Tomcat)
Versions: 10.0
Failure Type: Non Functioning
Found In Build/Fixed In Build: Public Beta /
Priority/Frequency: Critical / Most users will encounter
Locale/System: English / Windows 7 64-bit
Vote Count: 0
Problem Description:
If you use the common approach of using friendly urls you will find Tomcat will throw a 404 error.
Steps to Reproduce:
Use an app such as blogcfc or mura where by the url requests a directory that does not exist.
Actual Result:
receive a 404
Expected Result:
A 200 status code with the delivered CFM page
Any Workarounds:
Add the following servlet mapping in the web.xml file
<servlet-mapping>
<servlet-name>CFMLServlet</servlet-name>
<url-pattern>/index.cfm/*</url-pattern>
</servlet-mapping>
This stops Tomcat from checking if the file exists and sends the request to the CFMLServlet.
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3118499
External Customer Info:
External Company:
External Customer Name: mcollins323
External Customer Email:
External Test Config: My Hardware and Environment details: NA
Attachments:
Comments: