Recipe 6.33. Using Permanent Redirects to Obscure Forbidden URLs
6.33.1. Problem
When access to a file is forbidden, you don’t want the user’s
browser to show its URL.
6.33.2. Solution
Add an ErrorDocument script
that issues a permanent redirect to a “document not found” message
page:
You are currently reading a PREVIEW of this book.
Get instant access to over
$1 million worth of books and videos.
Start a Free Trial