title: REST Routing fails in ZF2 Rest Skeleton
body: <p>I configured the Resftul module (<a href="https://github.com/scaraveos/ZF2-Restful-Module-Skeleton" rel="nofollow">https://github.com/scaraveos/ZF2-Restful-Module-Skeleton</a>) with the following module.config.php . But as I want to access "public/rest/article.json" the routing fails.</p>
  
  <p>Does someone have a clue for me?
  Controller is given.</p>
  
  <pre><code>return array(
      'errors' =&gt; array(
          'post_processor' =&gt; 'json-pp',
          'show_exceptions' =&gt; array(
              'message' =&gt; true,
              'trace'   =&gt; true
          )
      ),
      'di' =&gt; array(
          'instance' =&gt; array(
              'alias' =&gt; array(
                  'json-pp'  =&gt; 'Rest\PostProcessor\Json',
                  'image-pp' =&gt; 'Rest\PostProcessor\Image',
              )
          )
      ),
      'controllers' =&gt; array(
          'invokables' =&gt; array(
              'article' =&gt; 'Rest\Controller\ArticleController',
          )
      ),
      'router' =&gt; array(
          'routes' =&gt; array(
              'restful' =&gt; array(
                  'type'    =&gt; 'Zend\Mvc\Router\Http\Segment',
                  'options' =&gt; array(
                      'route'       =&gt; '/[:controller][.:formatter][/:id]',
                      'constraints' =&gt; array(
                          'controller' =&gt; '[a-zA-Z][a-zA-Z0-9_-]*',
                          'formatter'  =&gt; '[a-zA-Z][a-zA-Z0-9_-]*',
                          'id'         =&gt; '[a-zA-Z0-9_-]*'
                      ),
                  ),
              ),
          ),
      ),
  );
  </code></pre>
  
  <p>autoload_classmap is</p>
  
  <pre><code>'Rest\Controller\ArticleController' =&gt; __DIR__ . '/src/Rest/Controller/ArticleController.php',
  </code></pre>