Pat Roongphornchai
Member since Sep 22, 2011
- Profile: /members/9002-pat-roongphornchai.htm
- Comments: 1
Recent Blog Comments By Pat Roongphornchai
-
Using ColdFusion to Handle 404 Errors (Page Not Found) On Development Server
Posted on Sep 22, 2011 at 9:53 AM
For Apache/Linux: I use HostMySite, and I set up the 404 handler page. Apply something like my code below on the handler page: <cfset the404 = cgi.REDIRECT_URL> <cfif the404 CONTAINS ".php"> <cfset theFileName = listLen(the404,'/')> <cfset theFi... read more »