title: Relationship between URL and Filepath in a URL-rewriting scenario
body: <p>Experience tells me I shouldn't be storing a url in my database of media items.</p>
  
  <p>However that is what my architect is telling me. Surely it is the job of a front end server to map the filepath to a url?</p>
  
  <p>Any hints? What should I be considering with regard to URL rewriting?</p>