Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 302
  • Last Modified:

404 error processing with ColdFusion

I'm interested in doing more analysis and processing of web requests that generate 404 errors on our site. Is there a variable that can be captured in the ColdFusion code on my 404.cfm page that gets hit when a page is requested that doesn't exist?  I tried doing a cfdump of CGI.REQUEST_URI in my 404.cfm page and then typed in a bogus URL on our site, but the cfdump returned the URL of the 404 page itself.  I'd like to actually capture and document what pages are being requested which don't exist.  How can I capture that info?
0
benjaminfam
Asked:
benjaminfam
1 Solution
 
OP_ZaharinCommented:
- here is a coldfusion documentation on handling request page out of error 404, getting the path and page requested :

http://cookbooks.adobe.com/post_Using_ColdFusion_to_Handle_HTTP_404_Page_Not_Found-16352.html
0
 
benjaminfamAuthor Commented:
This is perfect!! It is exactly what I was looking for.  This article addresses the exact scenario that I wanted this information for.  Thank you so much.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now