{"id":56,"date":"2011-10-24T14:16:32","date_gmt":"2011-10-24T14:16:32","guid":{"rendered":"http:\/\/rat32.com\/rat32\/?p=56"},"modified":"2013-10-11T03:42:39","modified_gmt":"2013-10-11T03:42:39","slug":"how-to-solve-access-forbidden-you-dont-have-permission-to-access-the-requested-object-it-is-either-read-protected-or-not-readable-by-the-server-if-you-think-this-is-a-server-error-please-conta","status":"publish","type":"post","link":"https:\/\/rat32.com\/rat32\/2011\/10\/24\/how-to-solve-access-forbidden-you-dont-have-permission-to-access-the-requested-object-it-is-either-read-protected-or-not-readable-by-the-server-if-you-think-this-is-a-server-error-please-conta\/","title":{"rendered":"How to solve &#8220;Access forbidden! You don&#8217;t have permission to access the requested object. It is either read-protected or not readable by the server. If you think this is a server error, please contact the webmaster. Error 403 localhost Mon 24 Oct 2011 07:45:12 PM NPT Apache\/2.2.17 (Unix) DAV\/2 mod_ssl\/2.2.17 OpenSSL\/1.0.0c PHP\/5.3.5 mod_apreq2-20090110\/2.7.1 mod_perl\/2.0.4 Perl\/v5.10.1&#8221; problem?"},"content":{"rendered":"<p>Some times while we wish to run any project on xamp or wamp or lampp we might this error message as:<br \/>\n<strong><br \/>\nAccess forbidden!<\/p>\n<p>You don&#8217;t have permission to access the requested object. It is either read-protected or not readable by the server.<\/p>\n<p>If you think this is a server error, please contact the webmaster.<br \/>\nError 403<br \/>\nlocalhost<br \/>\nMon 24 Oct 2011 07:45:12 PM NPT<br \/>\nApache\/2.2.17 (Unix) DAV\/2 mod_ssl\/2.2.17 OpenSSL\/1.0.0c PHP\/5.3.5 mod_apreq2-20090110\/2.7.1 mod_perl\/2.0.4 Perl\/v5.10.1<br \/>\n<\/strong><\/p>\n<p>This is due to the permission problem. By default we don&#8217;t have permission to access files so we need to change its permission. I have installed my xampp on  \/opt\/lampp\/ folder and my project folder name is testproject. To avoid this error i have granted permission as:<\/p>\n<p><strong>sudo chmod -R 0777 \/opt\/lampp\/htdocs\/testproject<\/strong> <\/p>\n<p>After running this code on terminal. It works fine.<\/p>\n<!-- AddThis Advanced Settings generic via filter on the_content --><!-- AddThis Share Buttons generic via filter on the_content -->","protected":false},"excerpt":{"rendered":"<p>Some times while we wish to run any project on xamp or wamp or lampp we might this error message as: Access forbidden! You don&#8217;t have permission to access the requested object. It is&#46;&#46;&#46;<!-- AddThis Advanced Settings generic via filter on get_the_excerpt --><!-- AddThis Share Buttons generic via filter on get_the_excerpt --><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-56","post","type-post","status-publish","format-standard","hentry","category-php"],"post_mailing_queue_ids":[],"_links":{"self":[{"href":"https:\/\/rat32.com\/rat32\/wp-json\/wp\/v2\/posts\/56"}],"collection":[{"href":"https:\/\/rat32.com\/rat32\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/rat32.com\/rat32\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/rat32.com\/rat32\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/rat32.com\/rat32\/wp-json\/wp\/v2\/comments?post=56"}],"version-history":[{"count":3,"href":"https:\/\/rat32.com\/rat32\/wp-json\/wp\/v2\/posts\/56\/revisions"}],"predecessor-version":[{"id":87,"href":"https:\/\/rat32.com\/rat32\/wp-json\/wp\/v2\/posts\/56\/revisions\/87"}],"wp:attachment":[{"href":"https:\/\/rat32.com\/rat32\/wp-json\/wp\/v2\/media?parent=56"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/rat32.com\/rat32\/wp-json\/wp\/v2\/categories?post=56"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/rat32.com\/rat32\/wp-json\/wp\/v2\/tags?post=56"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}