title: Failed to load resource: the server responded with a status of 403 (Forbidden) in php, Angularjs website
body: <p>We are working on an application and it is having below technologies:</p>
  
  <p><strong>At Local System</strong>
  PHP 7.1 (what xampp provides on local system)
  Codeigniter 3.1.3
  AngularJS v1.2.16</p>
  
  <p>At Shared Server
  PHP 5.6 (On Shared Environment)</p>
  
  <p>This web application is working fine at local system but after upload it is giving below error in chrome inspect element:</p>
  
  <pre><code>Failed to load resource: the server responded with a status of 403 (Forbidden)
  
  http://backoffice.website.com/user_roles_con/index_function/list_all_roles
  
  Object
  config
  :
  Object
  data
  :
  "Access denied.↵"
  headers
  :
  (name)
  status
  :
  403
  statusText
  :
  "Forbidden"
  __proto__
  :
  Object
  </code></pre>
  
  <p>What we have already tried is to change permission of application folder and files to 0755 and this is what the best I tried to debug.</p>
  
  <p>We also tried to change version of PHP to 7.0 in our control panel, this has not solved the problem but all other website hosted have stopped working.</p>
  
  <p>Now we are completely clueless, please suggest some solution.</p>
  
  <p>Thanks.</p>