Enable Apache SSL with defaulf self-signed certificates
sudo a2enmod ssl && a2ensite default-ssl && service apache2 restart
Disable SSLv3
edit the config file
sed -i 's,SSLProtocol all,SSLProtocol All -SSLv2 -SSLv3,g' /etc/apache2/mods-enabled/ssl.conf
restart apache2 service
service apache2 restart
Change index page(s)
edit the config
nano /etc/apache2/mods-enabled/dir.conf
add/update whichever page you want to display i.e. index.php
DirectoryIndex index.php index.html index.cgi index.pl index.php index.xhtml index.htm
now restart apache
service apache2 restart
That is it !
Go Up
Restrict directory browsing
a2dismod -f autoindex
That is it !
Go Up