{"_id":"576ec8969c84a31900958ad0","parentDoc":null,"project":"576ebdb79c84a31900958aba","user":"576ebd239c84a31900958ab9","__v":4,"category":{"_id":"576ec32f52f96619007cfb9a","__v":0,"project":"576ebdb79c84a31900958aba","version":"576ebdb79c84a31900958abd","sync":{"url":"","isSync":false},"reference":false,"createdAt":"2016-06-25T17:45:19.203Z","from_sync":false,"order":2,"slug":"support","title":"Getting Started"},"version":{"_id":"576ebdb79c84a31900958abd","project":"576ebdb79c84a31900958aba","__v":10,"createdAt":"2016-06-25T17:21:59.854Z","releaseDate":"2016-06-25T17:21:59.854Z","categories":["576ebdb79c84a31900958abe","576ebfc59c84a31900958ac4","576ec32f52f96619007cfb9a","576ec7b7560eef0e00cd3096","576ed4249c84a31900958add","576ed429560eef0e00cd30a3","576ed43a52f96619007cfbb5","576ed44d5a8c72170082b794","577212f20da40019004f0816","57725c7e0a6d610e00de9e4c"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"3.3.0","version":"3.3"},"updates":[],"next":{"pages":[],"description":""},"createdAt":"2016-06-25T18:08:22.290Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"settings":"","auth":"required","params":[],"url":""},"isReference":false,"order":3,"body":"[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"Apache HTTP\"\n}\n[/block]\nThe framework ships with a `public/.htaccess` file that is used to allow URLs without `index.php`. If you use Apache to serve your Orchestra Platform application, be sure to enable the mod_rewrite module.\n\nIf the `.htaccess` file that ships with Orchestra Platform does not work with your Apache installation, try this one:\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"Options +FollowSymLinks\\nRewriteEngine On\\n\\nRewriteCond %{REQUEST_FILENAME} !-d\\nRewriteCond %{REQUEST_FILENAME} !-f\\nRewriteRule ^ index.php [L]\",\n      \"language\": \"shell\",\n      \"name\": \".htaccess\"\n    }\n  ]\n}\n[/block]\n\n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"Nginx\"\n}\n[/block]\nOn Nginx, the following directive in your site configuration will allow \"pretty\" URLs:\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"location / {\\n\\ttry_files $uri $uri/ /index.php?$query_string;\\n}\",\n      \"language\": \"shell\",\n      \"name\": \"nginx.conf\"\n    }\n  ]\n}\n[/block]\nOf course, when using Homestead, pretty URLs will be configured automatically.","excerpt":"","slug":"pretty-urls","type":"basic","title":"Pretty URLs"}
[block:api-header] { "type": "basic", "title": "Apache HTTP" } [/block] The framework ships with a `public/.htaccess` file that is used to allow URLs without `index.php`. If you use Apache to serve your Orchestra Platform application, be sure to enable the mod_rewrite module. If the `.htaccess` file that ships with Orchestra Platform does not work with your Apache installation, try this one: [block:code] { "codes": [ { "code": "Options +FollowSymLinks\nRewriteEngine On\n\nRewriteCond %{REQUEST_FILENAME} !-d\nRewriteCond %{REQUEST_FILENAME} !-f\nRewriteRule ^ index.php [L]", "language": "shell", "name": ".htaccess" } ] } [/block] [block:api-header] { "type": "basic", "title": "Nginx" } [/block] On Nginx, the following directive in your site configuration will allow "pretty" URLs: [block:code] { "codes": [ { "code": "location / {\n\ttry_files $uri $uri/ /index.php?$query_string;\n}", "language": "shell", "name": "nginx.conf" } ] } [/block] Of course, when using Homestead, pretty URLs will be configured automatically.