title: zend framework 2 404 error occured
body: <p>i'm new to zend framework 2 and was trying to add the album module into ZF2's skelton application but getting
   A 404 error occurred
   Page not found.
   The requested URL could not be matched by routing.
  my Album/config/module.config.php code  is</p>
  
  <pre><code>&lt;?php
      return array(
          'controllers' =&gt; array(
              'invokables' =&gt; array(
                  'Album\Controller\Album' =&gt; 'Album\Controller\AlbumController',
              ),
          ),
          'view_manager' =&gt; array(
              'template_path_stack' =&gt; array(
                  'album' =&gt; __DIR__ . '/../view'
               ),
           ),
          'router' =&gt; array(
              'routes' =&gt; array(
                  'album' =&gt; array(
                      //'type' =&gt; 'segment',
                      'type' =&gt; 'Zend\Mvc\Router\Http\Literal',
                      'options' =&gt; array(
                          //'route' =&gt; '/album[/][:action][/:id]',
                          //'route'       =&gt; '/:controller[.:formatter][/:id]',
                          'route' =&gt; '/album',
                          'constraints' =&gt; array(
                              'action' =&gt; '[a-zA-Z][a-zA-Z0-9_-]*',
                              'formatter'  =&gt; '[a-zA-Z][a-zA-Z0-9_-]*',
                              'id' =&gt; '[0-9]+',
                          ),
                          'defaults' =&gt; array(
                               '__NAMESPACE__' =&gt; 'Album\Controller',
                              'controller' =&gt; 'Album\Controller\Album',
                              'action' =&gt; 'index',
                          ),
                      ),
                  ),
              ),
          ),
      );
  </code></pre>
  
  <p>and in Application/config/module.config.php i have added these lines:</p>
  
  <pre><code>'modules' =&gt; array(
          'Application',    
          'Album'
      ),
      'module_listener_options' =&gt; array(
          'config_glob_paths' =&gt; array(
              'config/autoload/{,*.}{global,local}.php',
          ),
          'module_paths' =&gt; array(
              './module',
              './vendor',
          ),
      ),
  </code></pre>
  
  <p>can anyone plz help me to correct the codes...</p>