Answers for "Apache Module mod_headers"

1

enable mod_headers apache2

#enable directive
sudo a2enmod headers && sudo service apache2 restart

ls /etc/apache2/mods-enabled/ | grep headers.load

#disable directive
sudo a2dismod headers && sudo service apache2 restart

ls /etc/apache2/mods-enabled/ | grep headers.load
Posted by: Guest on August-03-2021

Browse Popular Code Answers by Language