Forum Moderators: phranque
The RewriteRule directive of mod_rewrite [httpd.apache.org] can be used to implement this.
For background information, see the documents cited in our forum charter [webmasterworld.com] and the tutorials in the Apache forum section of the WebmasterWorld library [webmasterworld.com].
Jim
I already fixed one issue on the CFM that deals with logging the page not found in a specific format.
I just switched from iPlanet and iPlanet could send 404s to my CFM 404 page.
TIA
Dave
# If not a request for html, htm, pdf, or cfm file
RewriteCond %{THE_REQUEST} !\.(html?¦pdf¦cfm)
# rewrite 404 error page request to alternate file (could even be blank)
RewriteRule ^local_URL-path_to_custom_404_page$ /local_path_to_alternate_404_page_for_images_etc [L]