Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

I would like to know how to prevent directory listings in Apache2 on debian7. For example, I am able to view the contents of a folder called “test.php” that created inside /var/www. I don’t want visitors to be able to view the contents of directories.
For the apache2.conf file , I have changed the
<Directory “/var/www”> Options Indexes FollowSymLinks IndexOptions FancyIndexing FoldersFirst IgnoreCase VersionSort NameWidth=* </Directory>
into
<Directory “/var/www”> Options FollowSymLinks </Directory>
and set <Directory /var/www/test> Options -Indexes </Directory>
It is no use to restart my apache2 ,the test.php file in the /var/www still be viewed by others when to input my vps_ip in firefox .
gerard
Jon Harris
orbitstorm88
rem3n
yolanda smith
301276acdc124dd982fe86364ba8c4
30ddab6038c044188d489290785dcb
699c9bc0a2c34f248e792cb8d2c6ab
Kent Morlan
sylvaticus
agitechcr
8b8f3c8ea96345bf8ddb0a59a008e2