{"action":"created","issue":{"url":"https://api.github.com/repos/josephernest/void/issues/10","labels_url":"https://api.github.com/repos/josephernest/void/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/josephernest/void/issues/10/comments","events_url":"https://api.github.com/repos/josephernest/void/issues/10/events","html_url":"https://github.com/josephernest/void/issues/10","id":68038495,"number":10,"title":".htaccess alternative?","user":{"login":"vanadisv","id":11855064,"avatar_url":"https://avatars.githubusercontent.com/u/11855064?v=3","gravatar_id":"","url":"https://api.github.com/users/vanadisv","html_url":"https://github.com/vanadisv","followers_url":"https://api.github.com/users/vanadisv/followers","following_url":"https://api.github.com/users/vanadisv/following{/other_user}","gists_url":"https://api.github.com/users/vanadisv/gists{/gist_id}","starred_url":"https://api.github.com/users/vanadisv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vanadisv/subscriptions","organizations_url":"https://api.github.com/users/vanadisv/orgs","repos_url":"https://api.github.com/users/vanadisv/repos","events_url":"https://api.github.com/users/vanadisv/events{/privacy}","received_events_url":"https://api.github.com/users/vanadisv/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-04-13T08:18:07Z","updated_at":"2015-04-13T14:20:41Z","closed_at":null,"body":"Hello!\r\n\r\nI'm trying to set up a simple page for my local network but support for .htaccess is disabled.\r\nThus, I was wondering how should I edit this so that it works without requiring the .htaccess rewrite rule?"},"comment":{"url":"https://api.github.com/repos/josephernest/void/issues/comments/92373463","html_url":"https://github.com/josephernest/void/issues/10#issuecomment-92373463","issue_url":"https://api.github.com/repos/josephernest/void/issues/10","id":92373463,"user":{"login":"josephernest","id":6168083,"avatar_url":"https://avatars.githubusercontent.com/u/6168083?v=3","gravatar_id":"","url":"https://api.github.com/users/josephernest","html_url":"https://github.com/josephernest","followers_url":"https://api.github.com/users/josephernest/followers","following_url":"https://api.github.com/users/josephernest/following{/other_user}","gists_url":"https://api.github.com/users/josephernest/gists{/gist_id}","starred_url":"https://api.github.com/users/josephernest/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/josephernest/subscriptions","organizations_url":"https://api.github.com/users/josephernest/orgs","repos_url":"https://api.github.com/users/josephernest/repos","events_url":"https://api.github.com/users/josephernest/events{/privacy}","received_events_url":"https://api.github.com/users/josephernest/received_events","type":"User","site_admin":false},"created_at":"2015-04-13T14:20:41Z","updated_at":"2015-04-13T14:20:41Z","body":"@vanadisv , a quick hack to do this:\r\n\r\n* Replace L21 of `index.php` by:\r\n\r\n    $requestedpage = isset($_GET['article']) ? $_GET['article'] : $_GET['page'];\r\n\r\n* Replace L67 of `index.php` by:\r\n\r\n        echo \"<div class=\\\"article\\\"><a href=\\\"?article=\". substr($page, 10, strlen($page)-14) . \"\\\">\";\r\n\r\n* On top of each page (example: `/page/02-about.txt`), add\r\n\r\n    URL:index.php?page=about\r\n\r\n[Here is a package](http://gget.it/vuoabes3/void-master_without_htaccess.zip), ready-to-use, you only need to unzip it.\r\nTell me if it works!"}}