{"action":"created","issue":{"url":"https://api.github.com/repos/magento/magento2/issues/2498","labels_url":"https://api.github.com/repos/magento/magento2/issues/2498/labels{/name}","comments_url":"https://api.github.com/repos/magento/magento2/issues/2498/comments","events_url":"https://api.github.com/repos/magento/magento2/issues/2498/events","html_url":"https://github.com/magento/magento2/issues/2498","id":118572887,"number":2498,"title":"What is the officially recommended way to protect the modified .htaccess files in a composer install from being overwritten later? ","user":{"login":"dfediuk","id":83204,"avatar_url":"https://avatars.githubusercontent.com/u/83204?v=3","gravatar_id":"","url":"https://api.github.com/users/dfediuk","html_url":"https://github.com/dfediuk","followers_url":"https://api.github.com/users/dfediuk/followers","following_url":"https://api.github.com/users/dfediuk/following{/other_user}","gists_url":"https://api.github.com/users/dfediuk/gists{/gist_id}","starred_url":"https://api.github.com/users/dfediuk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dfediuk/subscriptions","organizations_url":"https://api.github.com/users/dfediuk/orgs","repos_url":"https://api.github.com/users/dfediuk/repos","events_url":"https://api.github.com/users/dfediuk/events{/privacy}","received_events_url":"https://api.github.com/users/dfediuk/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/magento/magento2/labels/forum","name":"forum","color":"5319e7"},{"url":"https://api.github.com/repos/magento/magento2/labels/question","name":"question","color":"207de5"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-24T10:10:15Z","updated_at":"2015-12-01T15:40:31Z","closed_at":"2015-12-01T15:40:31Z","body":"For example, the `.htaccess` files could be modified (the `mod_rewrite` section) to [setup Magento a into a subdirectory](https://mage2.pro/t/topic/23).\r\nWhat is the officially recommended way to preserve such modifications from being overwritten later?\r\n"},"comment":{"url":"https://api.github.com/repos/magento/magento2/issues/comments/161004751","html_url":"https://github.com/magento/magento2/issues/2498#issuecomment-161004751","issue_url":"https://api.github.com/repos/magento/magento2/issues/2498","id":161004751,"user":{"login":"maksek","id":1527969,"avatar_url":"https://avatars.githubusercontent.com/u/1527969?v=3","gravatar_id":"","url":"https://api.github.com/users/maksek","html_url":"https://github.com/maksek","followers_url":"https://api.github.com/users/maksek/followers","following_url":"https://api.github.com/users/maksek/following{/other_user}","gists_url":"https://api.github.com/users/maksek/gists{/gist_id}","starred_url":"https://api.github.com/users/maksek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maksek/subscriptions","organizations_url":"https://api.github.com/users/maksek/orgs","repos_url":"https://api.github.com/users/maksek/repos","events_url":"https://api.github.com/users/maksek/events{/privacy}","received_events_url":"https://api.github.com/users/maksek/received_events","type":"User","site_admin":false},"created_at":"2015-12-01T15:40:31Z","updated_at":"2015-12-01T15:40:31Z","body":"Please submit question in Magento forum, GitHub only for issue reporting and PR."}}