title: 403 Forbidden You don't have permission to access /mytesting/< on this server. ERROR
body: <p>I am trying to figure our what causing the error on my simple login localhost program.</p>
  
  <p>My base_url = <a href="http://localhost/MYTESTING" rel="nofollow">http://localhost/MYTESTING</a></p>
  
  <p>I have this on my <code>loginpage.php</code> controller</p>
  
  <pre><code>public function login(){
  
      $data['title'] = "TEST LOGIN";
  
      $username = $this-&gt;input-&gt;post('username');
      $password = $this-&gt;input-&gt;post('password');
  
  
      $this-&gt;load-&gt;view("loginheaderTest.php",$data);
      $this-&gt;load-&gt;view("loginpage.php",$data);
      $this-&gt;load-&gt;view("footerTest.php",$data);
  
  
      if(isset($_POST['login']))
      {
          $data['authenticate'] = $this-&gt;AuthenticationTest-&gt;authenticate_acount($username,$password);
  
              if(!empty($data['authenticate']))
              {
                echo"&lt;script&gt;
                  alert('Success');
                  &lt;/script&gt;
                  ";  
              }
              else
              {
                  echo"&lt;script&gt;
                  alert('Invalid Username or Password');
                  &lt;/script&gt;
                  ";
              }
      }
  
  }
  </code></pre>
  
  <p>and I have this on my model</p>
  
  <pre><code>    public function authenticate_account($username,$password){
  
      $this-&gt;db-&gt;select("username");
      $this-&gt;db-&gt;from("accounts");
      $this-&gt;db-&gt;where("username",$username);
      $this-&gt;db-&gt;where("password",$password);
  
      $query = $this-&gt;db-&gt;get();
      return $query-&gt;row_array();
  </code></pre>
  
  <p>and this on my view :</p>
  
  <pre><code>&lt;div class="panel-body"&gt;
              &lt;form action = "&lt;?base_url();?&gt;" method = "POST"&gt;
                  &lt;fieldset&gt;
                      &lt;div class="form-group"&gt;
                                  &lt;input class="form-control" placeholder="Username" name="username"&gt;
                             &lt;/div&gt;
                       &lt;div class="form-group"&gt;
                                  &lt;input class="form-control" placeholder="Password" name="password" type="password" value=""&gt;
                              &lt;/div&gt;
  
                          &lt;input type = "submit" class="btn btn-lg btn-success btn-block" value = "Login" name = "login"&gt;                     
                  &lt;/fieldset&gt; 
              &lt;/form&gt;             
          &lt;/div&gt;
  </code></pre>
  
  <p>I am pretty sure I am correct on my configurations in my database config when I visit localhost/mytesting and click login the error occurs.</p>