title: Symfony3 - Change base URL to "/is"
body: <p>I'm new to Symfony3.</p>
  
  <p>What should I do to change my base url <code>https://example.com</code> to <code>https://example.com/is/</code>?</p>
  
  <p>The whole application should start from <code>/is/</code> path.</p>
  
  <p>What I have done till now is,</p>
  
  <p>routing.yml</p>
  
  <pre><code>user:
      resource: "@UserBundle/Resources/config/routing.yml"
      prefix:   /is/
  
  app:
      resource: '@AppBundle/Controller/'
      type: annotation
  </code></pre>
  
  <p>security.yml</p>
  
  <pre><code>access_control:
      - { path: ^/login$, role: IS_AUTHENTICATED_ANONYMOUSLY }
      - { path: ^/register, role: IS_AUTHENTICATED_ANONYMOUSLY }
      - { path: ^/resetting, role: IS_AUTHENTICATED_ANONYMOUSLY }
      - { path: ^/is/.*, role: ROLE_SUPER_ADMIN }
  </code></pre>
  
  <p>But didn't get success. Where am I wrong and what should I Do?</p>
  
  <p><strong>Edit</strong> - current behavior</p>
  
  <p>Currently when I go to <code>https://example.com/is/</code> It is redirecting me to <code>https://example.com/login</code> because of <code>access_control</code> in <code>security.yml</code>.</p>
  
  <p>If I type <code>https://example.com/is/login</code>, It shows me <code>404 Path not found</code> error.</p>