I've recently started doing way more Drupal development than Joomla!, and given I use my personal website as a testing platform that changes about once every few years, am trying to migrate it from Joomla! 1.5 to Drupal 7.
To this end, I've moved the entire Joomla! website to http://v3.aendrew.com and in doing so, broken all incoming links, which are now met with a Drupal install that's never heard about any of my prior content -- http://aendrew.com.
Is there any way I can do the following via Drupal 7?
- Detect broken incoming request (Drupal 404s)
- Check whether the path exists on the Joomla! subdomain.
- Issue a 301 redirect pointing to the Joomla! page if so; issue a 404 if not.