I want to disable the access of a directory but not the child directory with .htaccess
===

I want to disable the access of a directory but not the child directory with .htaccess

i already written a rewrite rules to redirect everything to a child directory (public_html), but its parent is still accessible if the user know the url, i want to disable the access of the current directory not the child directory