I want to write apache rewrite rule for fallowing use case.
My use case is if url does not exists modify url.
e.x
http://localhost/sign
does not exists redirect to http://localhost/index.php/sign
if http://localhost/images/dummy.jpg
exists do nothing.
i.e if url exists do nothing else modify url and add index.php after domain name and fallowed by requested uri.
can any one help me achieving this.