I've got the following directory structure:
- Code: Select all
/foo/
/foo/bar
/foo/baz
...
/foo/*
/foo/* means that it is a dynamic structure and any directory could be created.
Now I want /foo/ to be unaccessible and all its sub-directories /foo/* to be accessible.
How can I achieve that? Do I need mod_rewrite?
Thank you for your help!