I have a simple CMS file structure:
application/
data/
src/
web/
.htaccess
index.php
I want to redirect all request to /index.php execept if file or directory exists, then I want to redirect all to /web. Example: http://localhost.com/news/example-news to index.php/ http://localhost.com/images/logo.png to web/images/logo.png
Now my .htaccess looks: .htaccess