zendframework/ZendSkeletonApplication — pull request #192 by TheFrozenFire (2013-05-28 22:04:56+00:00)
Title: PHP 5.4+ built-in webserver support

Presently, the public/index.php entry point does not support the PHP built-in webserver properly.

When invoked without the index.php script as its router, the built-in webserver will intercept *any* request for a route containing a '.' character.
Presently, this would interfere with controllers which pretend to be files (e.g. http://example.com/packages.json) by way of routing.

When invoked *with* the index.php script as its router, the built-in webserver currently will not route *any* requests for static files, unless you return false from the router script (called "declining a request").

The included patch adds logic to the index.php script which will check the request path to see if it coincides with an existent static file, in which case it will "decline" the request, passing the handling back to the built-in webserver to serve. This allows routing to happen for files which do not exist, which is consistent with other webservers.