Linux security settings and Apache2 certificate replacement Then use sudo ufw delete number to delete the rule. Open the port dedicated to the web server. Linux security settings and Apache2 certificate replacement Linux security settings and Apache2 certificate replacement For example, the default port used after installing apache2 will not be opened and needs to be added manually.
Linux security settings and Apache2 certificate replacement After turning on the firewall, you can read the default page of apache2. After explaining the canada dataset simple use of UFW firewall, let's teach you how to set the related settings of apache2. We first use apt-get instatll apache2 to install our apache server. Linux security settings and Apache2 certificate replacement to open the default modules: rewrite, proxy, proxy_http, headers, ssl. Linux security settings and Apache2 certificate replacement
Remember to reload apache2 whenever you make settings, modifications, startup or shutdown of the site! Linux security settings and Apache2 certificate replacement To check which modules are enabled, just ls /etc/apache2/mods-enabled. Linux security settings and Apache2 certificate replacement After the above functions are enabled, apache2 can use those module functions.