{"action":"created","issue":{"url":"https://api.github.com/repos/tuupola/slim-jwt-auth/issues/9","labels_url":"https://api.github.com/repos/tuupola/slim-jwt-auth/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/tuupola/slim-jwt-auth/issues/9/comments","events_url":"https://api.github.com/repos/tuupola/slim-jwt-auth/issues/9/events","html_url":"https://github.com/tuupola/slim-jwt-auth/issues/9","id":106422147,"number":9,"title":"Slim 3 passthrough all routes in XAMP","user":{"login":"ronaldo-systemar","id":12615817,"avatar_url":"https://avatars.githubusercontent.com/u/12615817?v=3","gravatar_id":"","url":"https://api.github.com/users/ronaldo-systemar","html_url":"https://github.com/ronaldo-systemar","followers_url":"https://api.github.com/users/ronaldo-systemar/followers","following_url":"https://api.github.com/users/ronaldo-systemar/following{/other_user}","gists_url":"https://api.github.com/users/ronaldo-systemar/gists{/gist_id}","starred_url":"https://api.github.com/users/ronaldo-systemar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ronaldo-systemar/subscriptions","organizations_url":"https://api.github.com/users/ronaldo-systemar/orgs","repos_url":"https://api.github.com/users/ronaldo-systemar/repos","events_url":"https://api.github.com/users/ronaldo-systemar/events{/privacy}","received_events_url":"https://api.github.com/users/ronaldo-systemar/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/tuupola/slim-jwt-auth/labels/windows","name":"windows","color":"207de5"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":21,"created_at":"2015-09-14T20:33:28Z","updated_at":"2015-10-23T18:58:40Z","closed_at":null,"body":"When no public routes set, middleware runs ok, but when add the following:\r\n```\r\n    \"rules\" => [\r\n        new \\Slim\\Middleware\\JwtAuthentication\\RequestPathRule([\r\n            \"path\" => \"/\",\r\n            \"passthrough\" => [\"/api/ping\"]\r\n        ]),\r\n        new \\Slim\\Middleware\\JwtAuthentication\\RequestMethodRule([\r\n            \"passthrough\" => [\"OPTIONS\"]\r\n        ])\r\n\t]\r\n```\r\n\r\nMiddleware just don't check JWT and passthrough all routes. The same code works fine on Slim 2, but Slim 3 don't.\r\n\r\n**Ps:** Works fine on php built-in server, (without any dot (.) char in uri params), Apache doesn't work,  passthrough all routes. Current .htaccess:\r\n```\r\n<IfModule mod_rewrite.c>\r\n    RewriteEngine On\r\n    \r\n    RewriteCond %{REQUEST_FILENAME} !-f\r\n    RewriteRule ^ index.php [QSA,L]\r\n    RewriteRule .* - [env=HTTP_AUTHORIZATION:%{HTTP:Authorization}]\r\n</IfModule>\r\n```"},"comment":{"url":"https://api.github.com/repos/tuupola/slim-jwt-auth/issues/comments/150663627","html_url":"https://github.com/tuupola/slim-jwt-auth/issues/9#issuecomment-150663627","issue_url":"https://api.github.com/repos/tuupola/slim-jwt-auth/issues/9","id":150663627,"user":{"login":"elvispdosreis","id":15267623,"avatar_url":"https://avatars.githubusercontent.com/u/15267623?v=3","gravatar_id":"","url":"https://api.github.com/users/elvispdosreis","html_url":"https://github.com/elvispdosreis","followers_url":"https://api.github.com/users/elvispdosreis/followers","following_url":"https://api.github.com/users/elvispdosreis/following{/other_user}","gists_url":"https://api.github.com/users/elvispdosreis/gists{/gist_id}","starred_url":"https://api.github.com/users/elvispdosreis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elvispdosreis/subscriptions","organizations_url":"https://api.github.com/users/elvispdosreis/orgs","repos_url":"https://api.github.com/users/elvispdosreis/repos","events_url":"https://api.github.com/users/elvispdosreis/events{/privacy}","received_events_url":"https://api.github.com/users/elvispdosreis/received_events","type":"User","site_admin":false},"created_at":"2015-10-23T18:58:40Z","updated_at":"2015-10-23T18:58:40Z","body":"Windows PHP 5.6.11 NTS\r\n"}}