A
A
aopil2021-09-08 17:01:24
Apache HTTP Server
aopil, 2021-09-08 17:01:24

How to disable Index of /logs?

When I go to the logs folder, I see Index of /logsand if there are any files in it, then everyone can see them.

Question: How to disable Index of /logs so that when you go to a folder, it does not display its documents)

6138c21c9f70c566819490.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
paran0id, 2021-09-08
@aopil

<Directory /logs>
    Options -Indexes
</Directory>

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question