I lately went some transmission testing software on my small site and was surprised for this to report that certain of my directory entries was openly accessible.
It's the directory from the root user that is available.
Leads to this site content:
Index of /~root * Parent Directory * cgi-bin/
Platform: I'm creating PHP websites, with Symfony on Linux with Apache.
Is something will be able to configure through Apache?
You can produce a
.htaccess file for the reason that directory, or possess a
<directory>...</directory> block inside your Apache configuration that identifies:
See the Apache options directive documentation for additional particulars.
There's an order in Apache that can make it show indexes.
Remove this, restart. This makes that url show a 403 Forbidden.