title: 404 Page Not Found The page you requested was not found. Code igniter
body: <p>i have developed a web app on code igniter .. this is the first time i am working on code-igniter .. after developing a web application on my localhost .so i decided to put my code-igniter web app on the temporary free server.. so i uploaded my site on this site 
  <a href="http://www.1freehosting.com/" rel="nofollow">1freehosting</a>... and then i imported my database .. after that i have changed the settings of database in database.php file .. and also i changed the base url in config.php file ..as this is my domain name <a href="http://hello.hostingsiteforfree.com/" rel="nofollow">http://hello.hostingsiteforfree.com/</a>... so i changed it to this url .. but then i am getting a following error ... i dont know what is going wrong ..i have searched a lot but nothing helps.. and also i am forgot to mention that my .htaccess file is empty ..means there is not a single line in it</p>
  
  <p>this is the error i am getting </p>
  
  <pre><code>404 Page Not Found
  
  The page you requested was not found.
  </code></pre>
  
  <p>routes.php </p>
  
  <pre><code>    &lt;?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');
  
   $route['default_controller'] = "loginController";
  $route['404_override'] = '';
  
  
   /* Location: ./application/config/routes.php */
  </code></pre>
  
  <p>my controller</p>
  
  <pre><code>   &lt;?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
  </code></pre>
  
  <p>class LoginController extends CI_Controller {</p>
  
  <pre><code> function index(){
  
      $new['main_content'] = 'loginView';
      $this-&gt;load-&gt;view('loginTemplate/template', $new); 
  
  }
  
  
  
  
  function verifyUser(){
  
      //getting parameters from view 
      $data = array(
              'username' =&gt; $this-&gt;input-&gt;post('username'),
              'password' =&gt; $this-&gt;input-&gt;post('password')
      );
  
  
      $this-&gt;load-&gt;model('loginModel'); 
      $query = $this-&gt;loginModel-&gt;validate($data);
  
  
            if ($query){             //if the user c validated
          //data variable is created becx we want to put username in session
              $data = array(
                  'username' =&gt; $this-&gt;input-&gt;post('username'),
                   'is_logged_in' =&gt; true 
              );
  
             $this-&gt;session-&gt;set_userdata($data);
           redirect('sessionController/dashboard_area');
      }
      else
       {
          $this-&gt;index();
      }
  }
  function logout()
  {
      $this-&gt;session-&gt;sess_destroy();
      $this-&gt;index();
  }
  }
  
  
  
  ?&gt;
  </code></pre>
  
  <p>config file</p>
  
  <pre><code>   $config['base_url']  = 'http://hello.hostingsiteforfree.com/';
     $config['index_page'] = 'index.php';
  </code></pre>