htaccess pseudo-redirection tip
Problem: The subdirectory (/school/dept/) needs to be accessed via password. The parent subdirectory (/school/) is otherwise empty and should redirect to the main page for any attempted requests.
Solution: Change options to deny Indexes, then use the main page’s url as the 403 error page. Here’s the complete file:
Options -Indexes
ErrorDocument 403 http://www.joemaller.com
