title: play framework - Not found error for an existing route
body: <p>I am using the http.path property in application.conf to serve the play app from a different path. So in application conf, I have</p>
  
  <p>http.path=/sales/</p>
  
  <p>When I try to access <a href="http://localhost:9000/sales/" rel="nofollow">http://localhost:9000/sales/</a>, I am getting the following error.</p>
  
  <pre>
  Not found
  
  GET /sales/
  
  These routes have been tried, in this order :
  
     1. GET       /@documentation/cheatsheet/{category}             PlayDocumentation.cheatSheet
     2. GET       /@documentation/modules/{module}/files/{name}     PlayDocumentation.file
     3. GET       /@documentation/modules/{module}/images/{name}    PlayDocumentation.image
     4. GET       /@documentation/modules/{module}/{id}             PlayDocumentation.page
     5. GET       /@documentation/files/{name}                      PlayDocumentation.file
     6. GET       /@documentation/images/{name}                     PlayDocumentation.image
     7. GET       /@documentation/{id}                              PlayDocumentation.page
     8. GET       /@documentation/?                                 PlayDocumentation.index
     9. *         /sales/                                           Application.index
    10. GET       /sales/login                                 Secure.login
    11. POST      /sales/login                                 Secure.authenticate
    12. GET       /sales/logout                                Secure.logout 
  </pre>
  
  <p><strong>Note</strong> : In my routes file, I am not prepending the routes with '/sales'. It is automatically added to each route. </p>
  
  <p>I am not sure why I the '/sales/' route is not recognized. If I give the route '/sales/login' or any other route it works.</p>
  
  <p><strong>Additional Info</strong> : In the Secure module, I have made changes in two places to set the default URL as '/sales/' instead of '/'. </p>
  
  <p>The changes are</p>
  
  <p>flash.put("url",play.Play.configuration.get("http.path"));</p>
  
  <p>url = String.valueOf(play.Play.configuration.get("http.path"));</p>