I am using Apache and want to modify my .conf file for a website such that:
- If the request comes from my IP
220.127.116.11, just display the URL/page as requested
- If the request is not from my IP and the directory does not exist, redirect to root
- If the request is not from my IP and the directory is one I don't want to display to anyone (
example.com/secret2/hidden.html, etc.), redirect to root
What is the best way to do this?