title: CodeIgniter Login System not working 404 error bad request
body: <p>Using CodeIgniter to build a simple log in system.</p>
  
  <p>I am getting this error when I try to submit my form data</p>
  
  <p><strong>404 Page Not Found
  The page you requested was not found.</strong></p>
  
  <p>I've no idea why! This is my form:</p>
  
  <pre><code>     &lt;?php echo form_open('VerifyLogin/index'); ?&gt;
       &lt;label for="username"&gt;Username:&lt;/label&gt;
       &lt;input type="text" size="20" id="username" name="username"/&gt;
       &lt;br/&gt;
       &lt;label for="password"&gt;Password:&lt;/label&gt;
       &lt;input type="password" size="20" id="passowrd" name="password"/&gt;
       &lt;br/&gt;
       &lt;input type="submit" value="Login"/&gt;&lt;/form&gt;
  </code></pre>
  
  <p>This is the form action -></p>
  
  <pre><code> http://localhost/LoginTut/index.php/VerifyLogin/index
  </code></pre>
  
  <p>The user should be brought to a new page. I don't know why this issue is happening!! Any ideas?</p>