Actually, even if .htaccess doesn't allow a directory to be read, it is still possible to see the contents of .htaccess, since it needs to be readable by the server.
The same is true for any file with read permission in the directory. It can always be read, if you have access to the directory, even if you can't read the contents of the directory.
Name | Last modified | Size | Description | |
---|---|---|---|---|
Parent Directory | - | |||
large.txt.Z | 2018-10-19 14:39 | 4.1K | ||
file.html | 2018-10-19 14:39 | 128 | ||
compress.TGZ | 2018-10-19 14:39 | 83 | ||
new-audio.tim | 2018-10-19 14:39 | 46 | ||
LookAtThe.icon | 2018-10-19 14:39 | 31 | ||
help.txt | 2018-10-19 14:39 | 20 | ||
test.gif | 2018-10-19 14:39 | 17 | ||
test.cgi | 2018-10-19 14:39 | 16 | ||
htaccess/ | 2018-10-19 14:39 | - | ||