FrozenShadow23
September 10th, 2004, 03:58 AM
I don't know if any of you know much about Apache, but I recently started using it and had a question regarding user restrictions.
Okay, I get that I can use .htaccess to password protect a directory recursivly, but what I want to know, is if I can use it to restrict just the ability to display indexes. I don't mean a single file called "index.html or .php" or anything like that, I mean apache's indexing abilities that list files and folders in a directory and allow you to browse through them.
I have it setup now so that the directory is inaccessable unless you have a password. This goes for any links into it and actually visiting it. What I want, is for it to protected from being viewed, unless you have a password, but still accessable through external links. Basically, the files won't be protected, just the ability to index it.
Any suggestions?
Okay, I get that I can use .htaccess to password protect a directory recursivly, but what I want to know, is if I can use it to restrict just the ability to display indexes. I don't mean a single file called "index.html or .php" or anything like that, I mean apache's indexing abilities that list files and folders in a directory and allow you to browse through them.
I have it setup now so that the directory is inaccessable unless you have a password. This goes for any links into it and actually visiting it. What I want, is for it to protected from being viewed, unless you have a password, but still accessable through external links. Basically, the files won't be protected, just the ability to index it.
Any suggestions?