{"action":"opened","issue":{"url":"https://api.github.com/repos/joomla/joomla-cms/issues/8589","labels_url":"https://api.github.com/repos/joomla/joomla-cms/issues/8589/labels{/name}","comments_url":"https://api.github.com/repos/joomla/joomla-cms/issues/8589/comments","events_url":"https://api.github.com/repos/joomla/joomla-cms/issues/8589/events","html_url":"https://github.com/joomla/joomla-cms/issues/8589","id":120277858,"number":8589,"title":"When set to site offline, Joomla! in a subdirectory redirects to domain root","user":{"login":"groovybluedog","id":16142383,"avatar_url":"https://avatars.githubusercontent.com/u/16142383?v=3","gravatar_id":"","url":"https://api.github.com/users/groovybluedog","html_url":"https://github.com/groovybluedog","followers_url":"https://api.github.com/users/groovybluedog/followers","following_url":"https://api.github.com/users/groovybluedog/following{/other_user}","gists_url":"https://api.github.com/users/groovybluedog/gists{/gist_id}","starred_url":"https://api.github.com/users/groovybluedog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/groovybluedog/subscriptions","organizations_url":"https://api.github.com/users/groovybluedog/orgs","repos_url":"https://api.github.com/users/groovybluedog/repos","events_url":"https://api.github.com/users/groovybluedog/events{/privacy}","received_events_url":"https://api.github.com/users/groovybluedog/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/joomla/joomla-cms/labels/No%20Code%20Attached%20Yet","name":"No Code Attached Yet","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-12-03T21:49:42Z","updated_at":"2015-12-03T21:49:42Z","closed_at":null,"body":"When setting the site offline, I am redirected from the sub domain to the domain root.\r\nThis has happened to me for quite a few versions of 3.x but didn't happen in earlier 3.x versions when it was new.\r\nI have fiddled with every server setting and cannot find something on my server that is causing it, so I have to assume that this is an issue with the Joomla! software. Unfortunately I can't test it on another server but I have done everything possible on my own, with no difference. Changing the \"Offline Message\" setting does nothing either.\r\n\r\n#### Steps to reproduce the issue\r\n\r\nOn a fresh installation of Joomla!, log in to the ACP.\r\nGo to global configuration and enable \"Site Offline\"\r\nGo to the subdomain Joomla is located in and you are redirected to the domain root.\r\nFor example example.com/home is redirected to example.com, but only when the site is offline.\r\n\r\n#### Expected result\r\n\r\nThe type of offline message I have set, such as the default offline message and the login form.\r\n\r\n#### Actual result\r\n\r\nI am redirected as explained.\r\n\r\n#### System information (as much as possible)\r\n\r\nhttp://pastie.org/private/pj1hpd8kd5qsxybuotig\r\n"}}