{"id":1186,"date":"2019-10-31T08:08:22","date_gmt":"2019-10-31T01:08:22","guid":{"rendered":"https:\/\/www.yellowweb.id\/blog\/?p=1186"},"modified":"2019-10-31T08:08:22","modified_gmt":"2019-10-31T01:08:22","slug":"htaccess","status":"publish","type":"post","link":"https:\/\/www.yellowweb.id\/blog\/htaccess\/","title":{"rendered":".htaccess"},"content":{"rendered":"<p>.htaccess adalah sebuah file yang pada umumnya digunakan sebagai pengaturan konfigurasi pada web server yang menjalankan perangkat lunak seperti Apache Web Server.<br \/>\n<!--more--><br \/>\nPada saat file .htaccess ini ditempatkan pada sebuah direktori, secara otomatis terdeteksi dan akan dieksekusi atau dijalankan oleh web server tersebut.<\/p>\n<p>Dengan menggunakan file .htaccess dapat melakukan pengaturan konfigurasi, dengan menawarkan berbagai fitur tambahan, fungsionalitas, contohnya seperti: Pengalihan dasar (redirect) pada sebuah file yang tidak ada (file 404), bahkan menutup port tertentu.<\/p>\n<ul>\n<li><a href=\"http:\/\/www.htaccess-guide.com\/what-is-htaccess\/\">What is .htaccess?<\/a><\/li>\n<li><a href=\"http:\/\/www.htaccess-guide.com\/how-to-use-htaccess\/\">How to use .htaccess<\/a><\/li>\n<li><a href=\"http:\/\/www.htaccess-guide.com\/error-documents\/\">Error documents<\/a><\/li>\n<li><a href=\"http:\/\/www.htaccess-guide.com\/redirects\/\">Redirects<\/a><\/li>\n<li><a href=\"http:\/\/www.htaccess-guide.com\/password-protection\/\">Password protection<\/a><\/li>\n<li><a href=\"http:\/\/www.htaccess-guide.com\/deny-visitors-by-ip-address\/\">Deny visitors by IP address<\/a><\/li>\n<li><a href=\"http:\/\/www.htaccess-guide.com\/deny-visitors-by-referrer\/\">Deny visitors by referrer<\/a><\/li>\n<li><a href=\"http:\/\/www.htaccess-guide.com\/hot-link-prevention-techniques\/\">Hot link prevention techniques<\/a><\/li>\n<li><a href=\"http:\/\/www.htaccess-guide.com\/blocking-offline-browsers-and-bad-bots\/\">Blocking offline browsers and &#8216;bad bots&#8217;<\/a><\/li>\n<li><a href=\"http:\/\/www.htaccess-guide.com\/directoryindex-uses\/\">DirectoryIndex uses<\/a><\/li>\n<li><a href=\"http:\/\/www.htaccess-guide.com\/adding-mime-types\/\">Adding MIME types<\/a><\/li>\n<li><a href=\"http:\/\/www.htaccess-guide.com\/enable-ssi-with-htaccess\/\">Enable SSI with .htaccess<\/a><\/li>\n<li><a href=\"http:\/\/www.htaccess-guide.com\/enable-cgi-outside-of-the-cgi-bin\/\">Enable CGI outside of the cgi-bin<\/a><\/li>\n<li><a href=\"http:\/\/www.htaccess-guide.com\/disable-directory-listings\/\">Disable directory listings<\/a><\/li>\n<li><a href=\"http:\/\/www.htaccess-guide.com\/setting-server-timezone\/\">Setting server timezone<\/a><\/li>\n<li><a href=\"http:\/\/www.htaccess-guide.com\/changing-server-signature\/\">Changing server signature<\/a><\/li>\n<li><a href=\"http:\/\/www.htaccess-guide.com\/preventing-access-to-your-php-includes-files\/\">Preventing access to your PHP includes files<\/a><\/li>\n<li><a href=\"http:\/\/www.htaccess-guide.com\/prevent-access-to-php-ini\/\">Prevent access to php.ini<\/a><\/li>\n<li><a href=\"http:\/\/www.htaccess-guide.com\/forcing-scripts-to-display-as-source-code\/\">Forcing scripts to display as source code<\/a><\/li>\n<li><a href=\"http:\/\/www.htaccess-guide.com\/ensuring-media-files-are-downloaded-instead-of-played\/\">Ensuring media files are downloaded instead of played<\/a><\/li>\n<li><a href=\"http:\/\/www.htaccess-guide.com\/setting-up-associations-for-encoded-files\/\">Setting up Associations for Encoded Files<\/a><\/li>\n<li><a href=\"http:\/\/www.htaccess-guide.com\/preventing-requests-with-invalid-characters\/\">Preventing requests with invalid characters<\/a><\/li>\n<li><a href=\"http:\/\/www.htaccess-guide.com\/useful-resources\/\">Useful Resources<\/a><\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<p>sumber: <a href=\"http:\/\/www.htaccess-guide.com\/\">http:\/\/www.htaccess-guide.com\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>.htaccess adalah sebuah file yang pada umumnya digunakan sebagai pengaturan konfigurasi pada web server yang menjalankan perangkat lunak seperti Apache Web Server.<\/p>\n","protected":false},"author":1,"featured_media":1188,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[513,300],"tags":[301,255,115,212],"class_list":["post-1186","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-web-server","category-xampp","tag-apache","tag-htaccess","tag-web-server","tag-xampp"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>.htaccess - YELLOWWEB.ID<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.yellowweb.id\/blog\/htaccess\/\" \/>\n<meta property=\"og:locale\" content=\"en_GB\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\".htaccess - YELLOWWEB.ID\" \/>\n<meta property=\"og:description\" content=\".htaccess adalah sebuah file yang pada umumnya digunakan sebagai pengaturan konfigurasi pada web server yang menjalankan perangkat lunak seperti Apache Web Server.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.yellowweb.id\/blog\/htaccess\/\" \/>\n<meta property=\"og:site_name\" content=\"YELLOWWEB.ID\" \/>\n<meta property=\"article:published_time\" content=\"2019-10-31T01:08:22+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/i0.wp.com\/www.yellowweb.id\/blog\/wp-content\/uploads\/2019\/10\/htaccess.jpg?fit=600%2C280&ssl=1\" \/>\n\t<meta property=\"og:image:width\" content=\"600\" \/>\n\t<meta property=\"og:image:height\" content=\"280\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"yellowweb\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"yellowweb\" \/>\n\t<meta name=\"twitter:label2\" content=\"Estimated reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.yellowweb.id\\\/blog\\\/htaccess\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.yellowweb.id\\\/blog\\\/htaccess\\\/\"},\"author\":{\"name\":\"yellowweb\",\"@id\":\"https:\\\/\\\/www.yellowweb.id\\\/blog\\\/#\\\/schema\\\/person\\\/75188044e080844724e381ab6a5b9829\"},\"headline\":\".htaccess\",\"datePublished\":\"2019-10-31T01:08:22+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.yellowweb.id\\\/blog\\\/htaccess\\\/\"},\"wordCount\":175,\"commentCount\":0,\"image\":{\"@id\":\"https:\\\/\\\/www.yellowweb.id\\\/blog\\\/htaccess\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.yellowweb.id\\\/blog\\\/wp-content\\\/uploads\\\/2019\\\/10\\\/htaccess.jpg\",\"keywords\":[\"apache\",\"htaccess\",\"web server\",\"xampp\"],\"articleSection\":[\"Web Server\",\"XAMPP\"],\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.yellowweb.id\\\/blog\\\/htaccess\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.yellowweb.id\\\/blog\\\/htaccess\\\/\",\"url\":\"https:\\\/\\\/www.yellowweb.id\\\/blog\\\/htaccess\\\/\",\"name\":\".htaccess - YELLOWWEB.ID\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.yellowweb.id\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.yellowweb.id\\\/blog\\\/htaccess\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.yellowweb.id\\\/blog\\\/htaccess\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.yellowweb.id\\\/blog\\\/wp-content\\\/uploads\\\/2019\\\/10\\\/htaccess.jpg\",\"datePublished\":\"2019-10-31T01:08:22+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.yellowweb.id\\\/blog\\\/#\\\/schema\\\/person\\\/75188044e080844724e381ab6a5b9829\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.yellowweb.id\\\/blog\\\/htaccess\\\/#breadcrumb\"},\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.yellowweb.id\\\/blog\\\/htaccess\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\\\/\\\/www.yellowweb.id\\\/blog\\\/htaccess\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.yellowweb.id\\\/blog\\\/wp-content\\\/uploads\\\/2019\\\/10\\\/htaccess.jpg\",\"contentUrl\":\"https:\\\/\\\/www.yellowweb.id\\\/blog\\\/wp-content\\\/uploads\\\/2019\\\/10\\\/htaccess.jpg\",\"width\":600,\"height\":280,\"caption\":\"Menggunakan file .htaccess\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.yellowweb.id\\\/blog\\\/htaccess\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.yellowweb.id\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\".htaccess\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.yellowweb.id\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.yellowweb.id\\\/blog\\\/\",\"name\":\"YELLOWWEB.ID\",\"description\":\"Kursus Web Design | Kursus Web Programming | Mobile Web Apps | Digital Marketing\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.yellowweb.id\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-GB\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.yellowweb.id\\\/blog\\\/#\\\/schema\\\/person\\\/75188044e080844724e381ab6a5b9829\",\"name\":\"yellowweb\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/5afd1bfac26e9377e8f5e36afb624cf3690dd31cb07c3961dfbc736b9ff1912f?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/5afd1bfac26e9377e8f5e36afb624cf3690dd31cb07c3961dfbc736b9ff1912f?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/5afd1bfac26e9377e8f5e36afb624cf3690dd31cb07c3961dfbc736b9ff1912f?s=96&d=mm&r=g\",\"caption\":\"yellowweb\"},\"sameAs\":[\"https:\\\/\\\/www.yellowweb.id\"],\"url\":\"https:\\\/\\\/www.yellowweb.id\\\/blog\\\/author\\\/yellowweb\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":".htaccess - YELLOWWEB.ID","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.yellowweb.id\/blog\/htaccess\/","og_locale":"en_GB","og_type":"article","og_title":".htaccess - YELLOWWEB.ID","og_description":".htaccess adalah sebuah file yang pada umumnya digunakan sebagai pengaturan konfigurasi pada web server yang menjalankan perangkat lunak seperti Apache Web Server.","og_url":"https:\/\/www.yellowweb.id\/blog\/htaccess\/","og_site_name":"YELLOWWEB.ID","article_published_time":"2019-10-31T01:08:22+00:00","og_image":[{"width":600,"height":280,"url":"https:\/\/i0.wp.com\/www.yellowweb.id\/blog\/wp-content\/uploads\/2019\/10\/htaccess.jpg?fit=600%2C280&ssl=1","type":"image\/jpeg"}],"author":"yellowweb","twitter_card":"summary_large_image","twitter_misc":{"Written by":"yellowweb","Estimated reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.yellowweb.id\/blog\/htaccess\/#article","isPartOf":{"@id":"https:\/\/www.yellowweb.id\/blog\/htaccess\/"},"author":{"name":"yellowweb","@id":"https:\/\/www.yellowweb.id\/blog\/#\/schema\/person\/75188044e080844724e381ab6a5b9829"},"headline":".htaccess","datePublished":"2019-10-31T01:08:22+00:00","mainEntityOfPage":{"@id":"https:\/\/www.yellowweb.id\/blog\/htaccess\/"},"wordCount":175,"commentCount":0,"image":{"@id":"https:\/\/www.yellowweb.id\/blog\/htaccess\/#primaryimage"},"thumbnailUrl":"https:\/\/www.yellowweb.id\/blog\/wp-content\/uploads\/2019\/10\/htaccess.jpg","keywords":["apache","htaccess","web server","xampp"],"articleSection":["Web Server","XAMPP"],"inLanguage":"en-GB","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.yellowweb.id\/blog\/htaccess\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.yellowweb.id\/blog\/htaccess\/","url":"https:\/\/www.yellowweb.id\/blog\/htaccess\/","name":".htaccess - YELLOWWEB.ID","isPartOf":{"@id":"https:\/\/www.yellowweb.id\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.yellowweb.id\/blog\/htaccess\/#primaryimage"},"image":{"@id":"https:\/\/www.yellowweb.id\/blog\/htaccess\/#primaryimage"},"thumbnailUrl":"https:\/\/www.yellowweb.id\/blog\/wp-content\/uploads\/2019\/10\/htaccess.jpg","datePublished":"2019-10-31T01:08:22+00:00","author":{"@id":"https:\/\/www.yellowweb.id\/blog\/#\/schema\/person\/75188044e080844724e381ab6a5b9829"},"breadcrumb":{"@id":"https:\/\/www.yellowweb.id\/blog\/htaccess\/#breadcrumb"},"inLanguage":"en-GB","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.yellowweb.id\/blog\/htaccess\/"]}]},{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/www.yellowweb.id\/blog\/htaccess\/#primaryimage","url":"https:\/\/www.yellowweb.id\/blog\/wp-content\/uploads\/2019\/10\/htaccess.jpg","contentUrl":"https:\/\/www.yellowweb.id\/blog\/wp-content\/uploads\/2019\/10\/htaccess.jpg","width":600,"height":280,"caption":"Menggunakan file .htaccess"},{"@type":"BreadcrumbList","@id":"https:\/\/www.yellowweb.id\/blog\/htaccess\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.yellowweb.id\/blog\/"},{"@type":"ListItem","position":2,"name":".htaccess"}]},{"@type":"WebSite","@id":"https:\/\/www.yellowweb.id\/blog\/#website","url":"https:\/\/www.yellowweb.id\/blog\/","name":"YELLOWWEB.ID","description":"Kursus Web Design | Kursus Web Programming | Mobile Web Apps | Digital Marketing","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.yellowweb.id\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-GB"},{"@type":"Person","@id":"https:\/\/www.yellowweb.id\/blog\/#\/schema\/person\/75188044e080844724e381ab6a5b9829","name":"yellowweb","image":{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/secure.gravatar.com\/avatar\/5afd1bfac26e9377e8f5e36afb624cf3690dd31cb07c3961dfbc736b9ff1912f?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/5afd1bfac26e9377e8f5e36afb624cf3690dd31cb07c3961dfbc736b9ff1912f?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/5afd1bfac26e9377e8f5e36afb624cf3690dd31cb07c3961dfbc736b9ff1912f?s=96&d=mm&r=g","caption":"yellowweb"},"sameAs":["https:\/\/www.yellowweb.id"],"url":"https:\/\/www.yellowweb.id\/blog\/author\/yellowweb\/"}]}},"_links":{"self":[{"href":"https:\/\/www.yellowweb.id\/blog\/wp-json\/wp\/v2\/posts\/1186","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.yellowweb.id\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.yellowweb.id\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.yellowweb.id\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.yellowweb.id\/blog\/wp-json\/wp\/v2\/comments?post=1186"}],"version-history":[{"count":1,"href":"https:\/\/www.yellowweb.id\/blog\/wp-json\/wp\/v2\/posts\/1186\/revisions"}],"predecessor-version":[{"id":1187,"href":"https:\/\/www.yellowweb.id\/blog\/wp-json\/wp\/v2\/posts\/1186\/revisions\/1187"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.yellowweb.id\/blog\/wp-json\/wp\/v2\/media\/1188"}],"wp:attachment":[{"href":"https:\/\/www.yellowweb.id\/blog\/wp-json\/wp\/v2\/media?parent=1186"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.yellowweb.id\/blog\/wp-json\/wp\/v2\/categories?post=1186"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.yellowweb.id\/blog\/wp-json\/wp\/v2\/tags?post=1186"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}