title: Codeigniter shows 404 no page found.
body: <p>Well I have a strange problem in my Codeigniter page. I have a controller class <code>books.php</code></p>
  
  <pre><code>&gt; &lt;?php
  &gt; //echo 'Hello';
  &gt; class Books extends CI_Controller{
  &gt;     function __construct() {
  &gt;         parent::__construct();
  &gt;     }
  &gt;     
  &gt;     
  &gt;     function main()
  &gt;     {
  &gt;         $this-&gt;load-&gt;view('main_view');
  &gt;     }
  &gt;     
  &gt;     function input()
  &gt;     {
  &gt;         $this-&gt;load-&gt;view('input_view');
  &gt;     } } ?&gt;
  </code></pre>
  
  <p>Now if I point my browser to <code>http://localhost/CodeIgniter/index.php/books</code> it shows <code>404 Page not found.</code> Now If I add a <code>echo 'Hello';</code> just above the class declaration, it shows hello and at the top of the page and after that line the same 404 error.Is this due to permission roblem. <code>books.php</code> have <code>777</code> permission.</p>