Error 404 Not found on localhost
<p>I've hosted a script on locahost
on url: <a href="http://127.0.0.1/rent/" rel="nofollow">http://127.0.0.1/rent/</a></p>

<p>The problem is whenever I run the script it gives me "The requested URL /index.php was not found on this server."
Below is my .htaccess file:</p>

<p><code>RewriteEngine on
RewriteCond $1 !^(index\.php|images|robots\.txt|assets|install)
RewriteRule ^(.*)$ /index.php?/$1 [L]</code></p>

<p>I've edited the line with following combinations:
This line: RewriteRule ^(.*)$ /index.php?/$1 [L]</p>

<p>Combinations:</p>

<pre><code>/index.php
subdomain/index.php?
/subdomain/index.php?
subdomain/index.php
/subdomain/index.php
</code></pre>

<p>but nothing has worked, request you to please help me out here,thanks</p>