I have an internal webserver and I want to grant public access to one or two URLs on that server, but deny anything else. Also, I'd like to rediect any partially incorrect requests to the correct URL.
For example, I would like to redirect http://mysite.com/mypath to https://mysite.com/mypath but deny access to https://mysite.com without a specified path.