{"action":"created","issue":{"url":"https://api.github.com/repos/bramus/router/issues/13","labels_url":"https://api.github.com/repos/bramus/router/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/bramus/router/issues/13/comments","events_url":"https://api.github.com/repos/bramus/router/issues/13/events","html_url":"https://github.com/bramus/router/issues/13","id":68196479,"number":13,"title":"subfolder issue","user":{"login":"tleb","id":7550889,"avatar_url":"https://avatars.githubusercontent.com/u/7550889?v=3","gravatar_id":"","url":"https://api.github.com/users/tleb","html_url":"https://github.com/tleb","followers_url":"https://api.github.com/users/tleb/followers","following_url":"https://api.github.com/users/tleb/following{/other_user}","gists_url":"https://api.github.com/users/tleb/gists{/gist_id}","starred_url":"https://api.github.com/users/tleb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tleb/subscriptions","organizations_url":"https://api.github.com/users/tleb/orgs","repos_url":"https://api.github.com/users/tleb/repos","events_url":"https://api.github.com/users/tleb/events{/privacy}","received_events_url":"https://api.github.com/users/tleb/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-04-13T21:17:04Z","updated_at":"2015-04-16T19:06:31Z","closed_at":null,"body":"I am having problems using bramus/router in a subfolder, I do not know if it is coming from me or a class problem:\r\n\r\n```\r\n$ mkdir router-test\r\n$ cd router-test\r\n$ composer require bramus/router\r\n$ touch .htaccess\r\n$ mkdir folder\r\n$ touch folder/.htaccess\r\n$ touch index.php\r\n```\r\n\r\n`.htaccess`:\r\n\r\n```\r\nRewriteEngine On\r\nRewriteRule ^(.*)$ folder/$1 [L]\r\n```\r\n\r\n`folder/.htaccess`:\r\n\r\n```\r\nRewriteEngine on\r\nRewriteCond %{REQUEST_FILENAME} !-f\r\nRewriteRule . index.php [L]\r\n```\r\n\r\n`folder/index.php`:\r\n\r\n```php\r\n<?php\r\n\r\nrequire '../vendor/autoload.php';\r\n\r\n$router = new \\Bramus\\Router\\Router;\r\n\r\n$router->get('/about', function() {\r\n\techo 'about page';\r\n});\r\n\r\n$router->run();\r\n```\r\n\r\nIf I call `domain.com/path/to/router-test/about`, nothing happens."},"comment":{"url":"https://api.github.com/repos/bramus/router/issues/comments/93817061","html_url":"https://github.com/bramus/router/issues/13#issuecomment-93817061","issue_url":"https://api.github.com/repos/bramus/router/issues/13","id":93817061,"user":{"login":"bramus","id":213073,"avatar_url":"https://avatars.githubusercontent.com/u/213073?v=3","gravatar_id":"","url":"https://api.github.com/users/bramus","html_url":"https://github.com/bramus","followers_url":"https://api.github.com/users/bramus/followers","following_url":"https://api.github.com/users/bramus/following{/other_user}","gists_url":"https://api.github.com/users/bramus/gists{/gist_id}","starred_url":"https://api.github.com/users/bramus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bramus/subscriptions","organizations_url":"https://api.github.com/users/bramus/orgs","repos_url":"https://api.github.com/users/bramus/repos","events_url":"https://api.github.com/users/bramus/events{/privacy}","received_events_url":"https://api.github.com/users/bramus/received_events","type":"User","site_admin":false},"created_at":"2015-04-16T19:06:31Z","updated_at":"2015-04-16T19:06:31Z","body":"Place your `index.php` and `.htaccess` in the same folder"}}