title: PHP - codeigniter URL not working without index.php - object not found
body: <p>I am using codeigniter v3 for my website and I'm having problems redirecting from one page to another.</p>
  
  <p>If I click the tab, the link shows <code>localhost:8080/IDS/view/decisiontree</code> and shows <code>Object not found! The requested URL was not found on this server...</code></p>
  
  <p>If I edit the URL and make it <code>localhost:8080/IDS/index.php/view/decisiontree</code>, the site perfectly loads.</p>
  
  <p>Here are my routes:</p>
  
  <pre><code>$route['view/decisiontree'] = 'data_controller/goto_decisiontree';
  </code></pre>
  
  <p>Here are the codes of the tab related:</p>
  
  <pre><code>&lt;li&gt;&lt;a href="&lt;?php echo base_url();?&gt;view/decisiontree"&gt;Decision Tree&lt;/a&gt;&lt;/li&gt;
  </code></pre>
  
  <p>Here is my data_controller:</p>
  
  <pre><code>public function goto_decisiontree(){
      $data['page'] = "2";
  
      $this-&gt;load-&gt;view('decisiontree_page', $data);
  }
  </code></pre>
  
  <p>And here is my <code>config.php</code>:</p>
  
  <pre><code>$config['base_url'] = 'http://localhost:8080/IDS';
  $config['index_page'] = '';
  $config['uri_protocol'] = 'REQUEST_URI';
  </code></pre>
  
  <p>Here's my .htaccess:</p>
  
  <pre><code>&lt;IfModule mod_rewrite.c&gt;
  RewriteEngine On
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteRule ^(.*)$ index.php/$1 [L]
  &lt;/IfModule&gt;
  </code></pre>
  
  <p>And note, I'm using Codeigniter V3.</p>
  
  <p>Thanks a lot for the help!</p>