I'm writing a custom Magento module to handle 404 URLs of the web site to fulfill some marketing requirements. I'm wondering what would be the best way to capture the 404s and pass those through my module before it get to the Apache 404 page?
I have scene few ways of people doing it, but not specific to Magento though. So please feel free to provide your expert advice. Thank you!