title: The requested URL /clients/login was not found on this server. Error comes in Codeigniter application
body: <p>I'm fed-up with server configuration.
  I have one Codeigniter application that runs very well when I hosted that on shared server. Now I'm trying to host it on my own server, I had made all required changes, and the site's <code>index.html</code> file runs properly. But now it gives me an error: </p>
  
  <blockquote>
    <p>Not Found</p>
    
    <p>The requested URL /clients/login was not found on this server.</p>
    
    <p>Additionally, a 404 Not Found error was encountered while trying to
    use an ErrorDocument to handle the request.</p>
  </blockquote>
  
  <p>Here is my <code>.htaccess</code> file:</p>
  
  <pre><code>RewriteEngine on
  RewriteBase /
  RewriteCond $1 !^(index\.php|resources|robots\.txt)
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteRule ^(.*)$ /home.php?/$1 [L,QSA]
  AddDefaultCharset utf-8
  </code></pre>
  
  <p>I did not get what is the error in configuration. I've already referred following site:</p>
  
  <p><a href="https://stackoverflow.com/questions/28242495/laravel-the-requested-url-was-not-found-on-this-server">laravel the requested url was not found on this server</a></p>
  
  <p><a href="https://laracasts.com/discuss/channels/laravel/the-requested-url-login-was-not-found-on-this-server?page=1" rel="nofollow noreferrer">https://laracasts.com/discuss/channels/laravel/the-requested-url-login-was-not-found-on-this-server?page=1</a></p>
  
  <p><a href="https://stackoverflow.com/questions/869092/how-to-enable-mod-rewrite-for-apache-2-2">How to enable mod_rewrite for Apache 2.2</a></p>
  
  <p><a href="https://stackoverflow.com/questions/39084695/the-requested-url-login-was-not-found-on-this-server">The requested URL /login was not found on this server</a></p>
  
  <p><a href="https://stackoverflow.com/questions/13543779/codeigniter-the-requested-url-was-not-found-on-this-server">Codeigniter - the requested URL was not found on this server</a></p>
  
  <p>Any kind of help is Welcome. Thanks in advance.</p>