index.php added to locations to redirect users

users are redirected to root directory of the server in case
of invalid access to these directories