{"action":"created","issue":{"url":"https://api.github.com/repos/codemix/yii2-localeurls/issues/9","labels_url":"https://api.github.com/repos/codemix/yii2-localeurls/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/codemix/yii2-localeurls/issues/9/comments","events_url":"https://api.github.com/repos/codemix/yii2-localeurls/issues/9/events","html_url":"https://github.com/codemix/yii2-localeurls/issues/9","id":64583473,"number":9,"title":"redirect loop with advanced application template","user":{"login":"h07r0d","id":692799,"avatar_url":"https://avatars.githubusercontent.com/u/692799?v=3","gravatar_id":"","url":"https://api.github.com/users/h07r0d","html_url":"https://github.com/h07r0d","followers_url":"https://api.github.com/users/h07r0d/followers","following_url":"https://api.github.com/users/h07r0d/following{/other_user}","gists_url":"https://api.github.com/users/h07r0d/gists{/gist_id}","starred_url":"https://api.github.com/users/h07r0d/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/h07r0d/subscriptions","organizations_url":"https://api.github.com/users/h07r0d/orgs","repos_url":"https://api.github.com/users/h07r0d/repos","events_url":"https://api.github.com/users/h07r0d/events{/privacy}","received_events_url":"https://api.github.com/users/h07r0d/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-03-26T17:02:56Z","updated_at":"2015-03-26T17:54:40Z","closed_at":null,"body":"Just pulled master, looks like a very helpful extension.\r\n\r\nOnce I'm setup on frontend (local vhost), I just get a redirect loop back to frontend.  here's my config/main.php:\r\n\r\n    'bootstrap' => ['log', 'codemix\\localeurls\\LocaleUrls'],\r\n    'localeUrls' => [\r\n      'class' => 'codemix\\localeurls\\LocaleUrls',\r\n      'enableDefaultSuffix' => true,\r\n      'enableLanguageDetection' => false,\r\n      'enablePersistence' => false,\r\n      'languages' => ['en', 'fr'],\r\n    ],\r\n    'urlManager' => [\r\n      'class' => 'codemix\\localeurls\\UrlManager',    \t\t\r\n      'enablePrettyUrl' => true,\r\n      'showScriptName' => false    \t\t\r\n    ],\r\n\r\nI cleared any persistence that may have stuck around, but any request to http://frontend, which should redirect to http://frontend/en is just looping back to http://frontend."},"comment":{"url":"https://api.github.com/repos/codemix/yii2-localeurls/issues/comments/86645557","html_url":"https://github.com/codemix/yii2-localeurls/issues/9#issuecomment-86645557","issue_url":"https://api.github.com/repos/codemix/yii2-localeurls/issues/9","id":86645557,"user":{"login":"h07r0d","id":692799,"avatar_url":"https://avatars.githubusercontent.com/u/692799?v=3","gravatar_id":"","url":"https://api.github.com/users/h07r0d","html_url":"https://github.com/h07r0d","followers_url":"https://api.github.com/users/h07r0d/followers","following_url":"https://api.github.com/users/h07r0d/following{/other_user}","gists_url":"https://api.github.com/users/h07r0d/gists{/gist_id}","starred_url":"https://api.github.com/users/h07r0d/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/h07r0d/subscriptions","organizations_url":"https://api.github.com/users/h07r0d/orgs","repos_url":"https://api.github.com/users/h07r0d/repos","events_url":"https://api.github.com/users/h07r0d/events{/privacy}","received_events_url":"https://api.github.com/users/h07r0d/received_events","type":"User","site_admin":false},"created_at":"2015-03-26T17:54:40Z","updated_at":"2015-03-26T17:54:40Z","body":"Yes, language as en in the frontend config as well"}}