Hi, how to prevent directory listing (directory browsing) of "https://myzabbix.com/icons/" web-page?
I found how to do it on Apache on RHEL7, but it doesn't work.
I created .htaccess file in /var/www/html/ and put "Options -Indexes" in it.
In httpd.conf in section <Directory "/var/www/html"> i put "AllowOverride All" and removed "Indexes" word in "Options FollowSymLinks".
But it didnt help.
I found how to do it on Apache on RHEL7, but it doesn't work.
I created .htaccess file in /var/www/html/ and put "Options -Indexes" in it.
In httpd.conf in section <Directory "/var/www/html"> i put "AllowOverride All" and removed "Indexes" word in "Options FollowSymLinks".
But it didnt help.
Comment