Posted by Els on 07/25/06 00:03
dorayme wrote:
> You know anything about .htaccess files? They work too much for
> me: I want only that they block the directory view of the file
> system on the server. What happens is this: I read carefully the
> tute I have on this thing. I carefully put .htaccess file on
> server in the directory I want or sometimes at the top level to
> apply to all folders, with just
>
> Options -Indexes
>
> in it.
>
> The effect is it works but a day or two later, I can't access any
> of the actual files inside either. Or immediately, it has this
> effect. I know all about getting it on servers, the name right in
> the end and so on. But I am generally miffed. Maybe I need a
> better tute? It is just this directory view block I want. Any
> ideas?
Did you look at your error log? The 'options -indexes' thing must be
enabled, otherwise it just gives an error when you try to access
anything in a folder with that in the .htaccess.
--
Els http://locusmeus.com/
[Back to original message]
|