Standard Drupal behavior is to pass all arguments through, whether or not they requested. Sometimes this behavior is desired. However, I need to return a 404 for anything but a query string.
Example of the problem http://drupal.org/project/modules http://drupal.org/project/modules/google.com <- This should return a 404; 200 given. Duplicate content penalty!
The views 404 module assumes that by default you do not want arguments passed through. However there is no D7 version of the module.
But the project page says that 404s for views can also be accomplished by setting the Global: Null under Arguments.
Obviously in D7 "arguments" are now "contextual filters", but I am unsure as to what settings to add to the Global:null contextual filter to get my desired result.
Any help would be appreciated.