Password Authentication with Apache is enabled with the following in default.conf
And ive added the whats needed to the .htaccess file.
All is working, but today ive noticed its possible to list directory/files on my server. From reading on the net its possible to stop this by adding Options -Indexes -FollowSymLinks, but when i do this the whole forum shows 403.
So how do i disable file/folder listing and enable password authentication with Apache?
Code:
<Directory /var/www/>
Options Indexes FollowSymLinks
AllowOverride All
Order allow,deny
allow from all
</Directory>
And ive added the whats needed to the .htaccess file.
All is working, but today ive noticed its possible to list directory/files on my server. From reading on the net its possible to stop this by adding Options -Indexes -FollowSymLinks, but when i do this the whole forum shows 403.
So how do i disable file/folder listing and enable password authentication with Apache?