#redirect the folder to reset page , that will handle redirect folder
DirectoryIndex core/controllers/index.php

#redirect the error pages
ErrorDocument 400 /obgy_app/core/404
ErrorDocument 401 /obgy_app/core/404
ErrorDocument 403 /obgy_app/core/404
ErrorDocument 500 /obgy_app/core/404
ErrorDocument 404 /obgy_app/core/404

#no one can open folders
Options -Indexes