title: Using WebPy as a static HTTP content server
body: <p>How is it possible to tune up WebPy to use it to serve static content for several websites?</p>
  
  <p>I run two websites on one IP using <code>web.subdomain_application</code> for name-based virtual hosting. The implied solution for hosting static content is to create a <code>static/</code> directory in the directory containing HTTP server script and put all static files from both websited there.</p>
  
  <p>However even if I create sub-directories <code>site1/</code> and <code>site2/</code> inside  <code>static/</code> to organize my resources, it would be possible to request Site1's resources on, say, <code>http://site2.com/static/site1/foo.css</code>. It seems natural to me to restrict such cross-site access to resources.</p>
  
  <p>How to serve static stuff for two sites separately on WebPy?</p>