P
P
Petr Volkhanov2014-01-29 21:19:52
Apache HTTP Server
Petr Volkhanov, 2014-01-29 21:19:52

How can the server be allowed to manage the Apache server using .htaccess files?

How can the server be allowed to manage the Apache server using .htaccess files? Because the problem is this, in each folder I put the .htaccess file, with the following content:

<Files>
  Options -Indexes
  Order Deny,Allow
  Deny from all
< /Files>

But it did nothing...

Answer the question

In order to leave comments, you need to log in

3 answer(s)
P
Petrusha Ukropov, 2014-01-29
@eprivalov

Remove files

V
Vlad Zhivotnev, 2014-01-29
@inkvizitor68sl

In this case, you can do
a2dismod autoindex
Then autoindexes will turn off completely.

R
Rsa97, 2014-01-29
@Rsa97

In httpd.conf , <Directory />set to AllowOverride All, otherwise the .htaccess files in the site directories do not change the global setting. Chrome All can allow separate groups of settings ( see here ).

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question