title: 403 Forbidden Access to CodeIgniter controller from ajax request
body: <p>Im having trouble with sending an ajax request to codeigniter controller. It is throwing back a 404 Forbidden Access error. I have found some sort of similar question to this but im not sure if its particular to CodeIgniter framework, and also the solution give in that thread did not solve my problem. below is my ajax request. Im wondering this is probably because of the .htaccess of the root folder of CI Application folder, but i dont want to change its default configuration yet.</p>
  
  <p>Is sending ajax request to CI controller the correct way of implementing this? if not, any suggestion please. Thanks!</p>
  
  <pre><code>var ajax_load = '{loading gif img html}';
  var ajax_processor = 'http://localhost/patientcare-v1/application/controller/ajax_processor/save_physical_info';
  
  $("#save").click(function(){
      $("#dialog-form").html(ajax_load);
      $.post(
          ajax_processor,
          $("#physical-info").serialize(),
          function(responseText){
              $("#dialog-form").html(responseText);
          },
          "json"
      );
  });
  </code></pre>