I have Ubuntu 16.04 x64 with LAMP. (Apache2.4)
I consider directory browsing very bad. I just discovered this wonderful solution:
But it gives this vague but very scary warning:
root@www:~# a2dismod autoindex WARNING: The following essential module will be disabled. This might result in unexpected behavior and should NOT be done unless you know exactly what you are doing! autoindex
To continue type in the phrase 'Yes, do as I say!' or retry by passing '-f':
Can someone explain what it is talking about? It sounds all good to me.