title: How can I deploy Symfony in a subdirectory?
body: <p>My website is ready to be deployed and I am trying to set it up online.</p>
  
  <p><strong>Some informations:</strong></p>
  
  <ul>
  <li>The host is OVH.</li>
  <li>It doesn't allow SSH, I have to send my files with FTP. No command line either.</li>
  <li>I want to be able to set up the website in a subdirectory: <code>/www/test</code> for now (my current website is still in <code>/www</code>).</li>
  </ul>
  
  <p><strong>The problem:</strong></p>
  
  <p>When I open the URL <code>my-website.com/test</code>, a Symfony exception tells me <code>No route found for "GET /test/"</code>, which clearly means that Symfony doesn't know it is in a sub-directory.</p>
  
  <p>How can I tell it?</p>
  
  <hr>
  
  <p><strong>EDIT:</strong></p>
  
  <p>I just realized it worked when I access <code>my-website.com/test/web</code>.</p>