
October 15th, 2000, 11:21 AM
|
|
Junior Member
|
|
Join Date: Oct 2000
Posts: 1
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
Here are my questions:
I'm running Apache 1.3.14 under Win2k. The root is configured as c:mywebsite. There is c:mywebsiteinclude directory with a bunch of files I don't want to be seen from the web. When I go to localhost/include, Apache displays a directory listing.
How can I configure Apache not to display a directory listing and pretend that a directory does not exist, even if that directory has an index.html file in it? Ie. how do I completely hide a directory so that anyone trying to go there will get a 401 error?
Do I have to configure that for each individual directory under c:mywebsite, and if not then how can I set it to work by default for any directory under c:mywebsite so that if I need a directory exposed, I'd have to explicitly configure Apache to make it visible?
Thanks and sorry for the long post.
------------------
--
Stan
|