title: Apache config to direct all requests to the same page
body: <p>I am creating a custom web server that is designed to serve a single page, regardless of the request URL:</p>
  
  <pre><code> - www.example.com/
   - www.example.com/spam/eggs/spam/?ID=eggs
   - foo.example.com/
   - ...
  </code></pre>
  
  <p>I am using a wildcard DNS entry to handle the subdomains, but I'm wondering about the best way to handle the page requests. </p>
  
  <p>My first thought was simply to have no pages on the site and create a custom 404 page which was the page I wanted to serve, but I thought that losing an error page might have problems in the future, not to mention sending a 404 error to the client might have effects I am not aware of. Should I be using mod-rewrite instead?</p>
  
  <p>How would you do this? 404, mod_rewrite, or?</p>