I have a web hosting company that allows me to restrict access to directories based on an ".htaccess" file.
The problem is that the "documentation" on the apache site on .htaccess files, though good, is short of examples.
What I want to do is to restrict browsing of directory contents in the browser (the web server is a Linux box), but allow the
Java JSP and
servlets to access directories as needed.
Does anyone have a "simple" example of how to restrict directory access in an .htaccess file?
Thanks very much in advance.
-- Mike