D
D
Drembler2017-04-15 13:07:30
htaccess
Drembler, 2017-04-15 13:07:30

How to disable folder navigation on the site?

I recently transferred sites to another server and ran into a problem: when visiting folder addresses that do not have an index.php file, the server displays the contents of the folder.
The problem is solved by adding a line to htaccess Options All -Indexes
Question: how to do this by default?
Debian 7 ISPmanager 4 PHP 5.2
cc804133ae1a4b5b9a74b826d7f8483f.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
SpyDeX, 2017-04-17
@SpyDeX

https://ru.stackoverflow.com/questions/26212/htacc...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question