title: Zend Skeleton Application A 404 error occurred Page not found
body: <p>I'm new to ZF. I'm using wamp 3. I followed the instructions from the Zend Framework Documentation (<a href="https://framework.zend.com/manual/2.4/en/user-guide/database-and-models.html" rel="nofollow">https://framework.zend.com/manual/2.4/en/user-guide/database-and-models.html</a>), installed ZendSkeletonApplication and everything worked fine until step 3 (routing and controllers) when I got the error:</p>
  
  <blockquote>
    <p>"A 404 error occurred</p>
    
    <p>Page not found.</p>
    
    <p>The requested URL could not be matched by routing.</p>
    
    <p>No Exception available".</p>
  </blockquote>
  
  <p>I don't know what the problem is, since I <strong>copied everything</strong> from the tutorial on the site (so that I don't make any typo) and it still won't work.</p>
  
  <p>Any suggestions what the problem might be?</p>
  
  <p>module.config.php looks like this:</p>
  
  <pre><code>return array(
   'controllers' =&gt; array(
       'invokables' =&gt; array(
           'Album\Controller\Album' =&gt; 'Album\Controller\AlbumController',
       ),
   ),
  
  'router' =&gt; array(
       'routes' =&gt; array(
           'album' =&gt; array(
               'type'    =&gt; 'segment',
               'options' =&gt; array(
                   'route'    =&gt; '/album[/:action][/:id]',
                   'constraints' =&gt; array(
                       'action' =&gt; '[a-zA-Z][a-zA-Z0-9_-]*',
                       'id'     =&gt; '[0-9]+',
                   ),
                   'defaults' =&gt; array(
                       'controller' =&gt; 'Album\Controller\Album',
                       'action'     =&gt; 'index',
                   ),
               ),
           ),
       ),
   ),
  
   'view_manager' =&gt; array(
       'template_path_stack' =&gt; array(
           'album' =&gt; __DIR__ . '/../view',
       ),
   ),
  );
  </code></pre>
  
  <p>I did everything as they wrote, but when I go to "myvirtualhostname/album" it shows me the error above.</p>