The examples of your URLs look like you are confusing the shared directory and controller routes. Usually you should not have a url:
http://localhost/zf2/public/
vhost. , , vhost. URL- :
http:
http:
PHP 5.4, , PHP 5.4. ( - - 9000 ):
php -S localhost:9000 -t public
- Skeleton URL- ( ) :
http://localhost:9000/some-module/some-controller/some-action
indexAction IndexController Skeleton, :
http://localhost:9000/application/index/index