title: My controller is erroring with a 404 page
body: <p>I'm getting 404 on when I try to across my page via www.mywebsite.com/hello create a controller. I will detail what I have. Please can anyone see anything obviously wrong?</p>
  
  <p>.htaccess</p>
  
  <pre><code>RewriteEngine on
  RewriteCond $1 !^(index\.php|resources|robots\.txt)
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteCond %{REQUEST_URI} !(\.well-known) [NC]
  RewriteRule ^(.*)$ index.php/$1 [L,QSA]
  
  RewriteCond %{SERVER_PORT} ^80$
  RewriteCond %{REQUEST_URI} !(\.well-known) [NC]
  RewriteRule ^.*$ https://%{SERVER_NAME}%{REQUEST_URI} [R=301,L]
  </code></pre>
  
  <p>controller</p>
  
  <pre><code>&lt;?php
  defined('BASEPATH') OR exit('No direct script access allowed');
  
  class Hello extends CI_Controller {
  
  public function __construct()
  {
  parent::__construct();
  }
  
  public function index(){
      $this-&gt;load-&gt;view('hello');
  }
  
  }
  </code></pre>
  
  <p>view</p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html lang="en"&gt;
  &lt;head&gt;
  &lt;meta charset="utf-8"&gt;
  &lt;title&gt;Hello World&lt;/title&gt;
  &lt;/head&gt;
  &lt;body&gt;
  
  &lt;h1&gt;Hello World!&lt;/h1&gt;
  
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>routes</p>
  
  <pre><code>$route['hello'] = 'hello';
  </code></pre>
  
  <p>config</p>
  
  <pre><code>$config['uri_protocol'] = 'REQUEST_URI';
  </code></pre>