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 index.html file runs properly. But now it gives me an error:
Not Found
The requested URL /clients/login was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Here is my .htaccess file:
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
I did not get what is the error in configuration. I've already referred following site:
laravel the requested url was not found on this server
How to enable mod_rewrite for Apache 2.2
The requested URL /login was not found on this server
Codeigniter - the requested URL was not found on this server
Any kind of help is Welcome. Thanks in advance.