{"action":"created","issue":{"url":"https://api.github.com/repos/klaussilveira/gitlist/issues/751","repository_url":"https://api.github.com/repos/klaussilveira/gitlist","labels_url":"https://api.github.com/repos/klaussilveira/gitlist/issues/751/labels{/name}","comments_url":"https://api.github.com/repos/klaussilveira/gitlist/issues/751/comments","events_url":"https://api.github.com/repos/klaussilveira/gitlist/issues/751/events","html_url":"https://github.com/klaussilveira/gitlist/pull/751","id":263353649,"number":751,"title":"Automatic RewriteBase, so that we don't have to update the \".htaccess\" file","user":{"login":"famzah","id":3726889,"avatar_url":"https://avatars1.githubusercontent.com/u/3726889?v=4","gravatar_id":"","url":"https://api.github.com/users/famzah","html_url":"https://github.com/famzah","followers_url":"https://api.github.com/users/famzah/followers","following_url":"https://api.github.com/users/famzah/following{/other_user}","gists_url":"https://api.github.com/users/famzah/gists{/gist_id}","starred_url":"https://api.github.com/users/famzah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/famzah/subscriptions","organizations_url":"https://api.github.com/users/famzah/orgs","repos_url":"https://api.github.com/users/famzah/repos","events_url":"https://api.github.com/users/famzah/events{/privacy}","received_events_url":"https://api.github.com/users/famzah/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2017-10-06T07:05:35Z","updated_at":"2017-12-29T16:05:18Z","closed_at":"2017-12-29T16:05:18Z","author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/klaussilveira/gitlist/pulls/751","html_url":"https://github.com/klaussilveira/gitlist/pull/751","diff_url":"https://github.com/klaussilveira/gitlist/pull/751.diff","patch_url":"https://github.com/klaussilveira/gitlist/pull/751.patch"},"body":"We need to update the \".htaccess\" file in case GitList isn't accessed through the root of the website, or if we later moved an existing GitList installation to another directory.\r\n\r\nThe solution is based on the following StackOverflow QA:\r\nhttps://stackoverflow.com/questions/21027343/let-htaccess-rewriterule-redirect-to-a-script-in-current-dir-instead-of-an-e/\r\n\r\nInitially this seems like a bit of magic, but if you read all explanations at the StackOverflow QA, including the comments, the code starts to make sense.\r\n\r\nI've tested this thoroughly and it works OK with my Apache 2.4 installations."},"comment":{"url":"https://api.github.com/repos/klaussilveira/gitlist/issues/comments/354464513","html_url":"https://github.com/klaussilveira/gitlist/pull/751#issuecomment-354464513","issue_url":"https://api.github.com/repos/klaussilveira/gitlist/issues/751","id":354464513,"user":{"login":"klaussilveira","id":467729,"avatar_url":"https://avatars2.githubusercontent.com/u/467729?v=4","gravatar_id":"","url":"https://api.github.com/users/klaussilveira","html_url":"https://github.com/klaussilveira","followers_url":"https://api.github.com/users/klaussilveira/followers","following_url":"https://api.github.com/users/klaussilveira/following{/other_user}","gists_url":"https://api.github.com/users/klaussilveira/gists{/gist_id}","starred_url":"https://api.github.com/users/klaussilveira/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/klaussilveira/subscriptions","organizations_url":"https://api.github.com/users/klaussilveira/orgs","repos_url":"https://api.github.com/users/klaussilveira/repos","events_url":"https://api.github.com/users/klaussilveira/events{/privacy}","received_events_url":"https://api.github.com/users/klaussilveira/received_events","type":"User","site_admin":false},"created_at":"2017-12-29T16:05:18Z","updated_at":"2017-12-29T16:05:18Z","author_association":"OWNER","body":"I have to agree with @alehaa here. Everyone has a different preference when configuring their virtual host. Not only we would have to support different Apache flavors, but also Nginx and lighttpd. I don't think it's feasible, or the focus of GitList."}}
{"actor":{"display_login":"klaussilveira"}}