title: Hosting Pyramid webapps under subpaths
body: <p>We have a hosting setup where we have one top level domain, and we host web applications under subpaths. For instance:</p>
  
  <pre>
    /projects -> Plone
    /interal -> Tomcat
    etc
  </pre>
  
  <p>In this scenario we need a way to tell the web application at the back end what its base path is, so that it can correctly generate links to its views and static content. For the examples above this is fine.</p>
  
  <p>We have just started using Pyramid, served by Waitress, but so far we've not figure out how to do this. Is there a clean way to configure this base path in Waitress, or is there a more flexible application server that we can use that will support Pyramid?</p>