{"id":2352,"date":"2018-06-08T15:48:29","date_gmt":"2018-06-08T14:48:29","guid":{"rendered":"https:\/\/www.webhostingsrbija.rs\/?p=1287"},"modified":"2018-06-08T15:48:29","modified_gmt":"2018-06-08T14:48:29","slug":"403-forbidden-kada-otvorite-domen","status":"publish","type":"post","link":"https:\/\/www.webhostingsrbija.rs\/en\/403-forbidden-kada-otvorite-domen\/","title":{"rendered":"403 Forbidden when you open a domain?"},"content":{"rendered":"<p>What does it mean when you visit your site and get a 403 forbidden error?<\/p>\n<blockquote>\n<h1>Forbidden<\/h1>\n<p>You don&#039;t have permission to access \/ on this server.<\/p>\n<p>Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.<\/p><\/blockquote>\n<p>This primarily means that you don&#039;t have index.html, index.htm, index.php, home.html, home.htm, home.php, default.php and default.php. There are a few more variations, but it all boils down to this.<\/p>\n<p><em>If you get this as soon as you open your domain &quot;vassajt.rs&quot;, it means that you don&#039;t have one of these files in the public_html folder, which is the main folder for your site.\u00a0<\/em><\/p>\n<p>This error can also appear if you have, for example, a folder called &quot;documents&quot; and you try to visit vassajt.rs\/dokumenti\/ and you will get the same error.<\/p>\n<p>This is for security reasons to prevent directory listing if the index file is accidentally missing.<\/p>\n<p>If you still want the files to be listed in the folder, create an .htaccess file (with a dot, meaning the dot htaccess) and set the following:<\/p>\n<blockquote><p>Options +Indexes<\/p><\/blockquote>\n<p>After which you will enable files and folders to be listed when that folder is visited.<\/p>","protected":false},"excerpt":{"rendered":"<p>\u0160ta zna\u010di kada posetite svoj sajt i dobijete 403 forbidden gre\u0161ku? Forbidden You don&#8217;t have permission to access \/ on this server. Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request. To pre svega zna\u010di da nemate index.html, index.htm, index.php, home.html, home.htm, home.php,default.php i default.php. Ima jos [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":1289,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[27,18],"tags":[],"class_list":["post-2352","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-htaccess","category-kako"],"_links":{"self":[{"href":"https:\/\/www.webhostingsrbija.rs\/en\/wp-json\/wp\/v2\/posts\/2352","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.webhostingsrbija.rs\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.webhostingsrbija.rs\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.webhostingsrbija.rs\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.webhostingsrbija.rs\/en\/wp-json\/wp\/v2\/comments?post=2352"}],"version-history":[{"count":0,"href":"https:\/\/www.webhostingsrbija.rs\/en\/wp-json\/wp\/v2\/posts\/2352\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.webhostingsrbija.rs\/en\/wp-json\/wp\/v2\/media?parent=2352"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.webhostingsrbija.rs\/en\/wp-json\/wp\/v2\/categories?post=2352"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.webhostingsrbija.rs\/en\/wp-json\/wp\/v2\/tags?post=2352"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}