I'm building my own MVC framework. Everything works except one error in
console(GET http://my-domain.com/ 403 (Forbidden)). It's caused because
it tried to find index.php in document root. Why it keeps searching index.php in
document root when i wrote this in .htaccess(which is in doc root):
When I add index.php to doc root the error is gone but it shows the doc root
index.php... I tried to redirect from index.php to my bootstrap.php file in
public directory and it worked - all showed up like it had to, no errors in
console But the php redirect slows down page. So the question is - why the f*ck
is browser still searching for index.php, when I said to rewrite all requests to
public/bootstrap.php??
Thanks