Get the default configuration file apache2.2-common for Apache, optimized for Ubuntu 12.04 LTS (Precise Pangolin). This example configuration ensures optimal compatibility and performance for Apache, making it easy to set up and adjust to meet your needs.
Find and download the configuration file here: /etc/ufw/applications.d/apache2.2-common.
For more configurations and setup guides, visit our related files section to further customize your system.
[Apache]
title=Web Server
description=Apache v2 is the next generation of the omnipresent Apache web server.
ports=80/tcp
[Apache Secure]
title=Web Server (HTTPS)
description=Apache v2 is the next generation of the omnipresent Apache web server.
ports=443/tcp
[Apache Full]
title=Web Server (HTTP,HTTPS)
description=Apache v2 is the next generation of the omnipresent Apache web server.
ports=80,443/tcp
Download the raw file with wget or curl
wget -O apache2.2-common.example https://exampleconfig.com/static/raw/apache/ubuntu12.04/etc/ufw/applications.d/apache2.2-common
curl https://exampleconfig.com/static/raw/apache/ubuntu12.04/etc/ufw/applications.d/apache2.2-common > apache2.2-common.example
Other config files you might find useful