I am trying to stop directory indexing for a specific directory in Apache (Ubuntu) and have put the following in my .htaccess file:
<Directory /var/www/xyz> Options -Indexes </Directory>
This blocks the whole site. Why?
If you want to disable index only for a specific directory without recursion just put an empty index.html file there and ensure that