Apache HTTP Server Configuration - Linux
/etc/apache2/ports.conf
Quick Actions
๐ฅ Download Original ports.confConfiguration File Information
Authentic & Original
Unaltered ports.conf from fresh installation.
Linux Distribution Support
๐ Currently viewing: Debian 12 (Bookworm)
โ Also compatible:
Ubuntu 24.04 LTS (Noble Numbat),
โ Different versions:
Configuration File Content
14 lines
# If you just change the port or add more ports here, you will likely also
# have to change the VirtualHost statement in
# /etc/apache2/sites-enabled/000-default.conf
Listen 80
<IfModule ssl_module>
Listen 443
</IfModule>
<IfModule mod_gnutls.c>
Listen 443
</IfModule>
Download Commands
ports.conf โข
Download the 100% original unaltered configuration file pulled from Apache HTTP Server
Using wget:
wget -O ports.conf.example https://exampleconfig.com/api/v1/config/original/e0eadfd8b9250d90d5c3004171eb78f6?hint=ports.conf
Using curl:
curl https://exampleconfig.com/api/v1/config/original/e0eadfd8b9250d90d5c3004171eb78f6?hint=ports.conf > ports.conf.example
Related Configuration Files
/etc/apache2/ports.conf
Apache HTTP Server ยท Debian 9 (Stretch)
/etc/apache2/ports.conf
Apache HTTP Server ยท Debian 9 (Stretch)
/etc/apache2/ports.conf
Apache HTTP Server ยท Debian 9 (Stretch)
/etc/apache2/ports.conf
APT ยท Debian 12 (Bookworm)
/etc/apache2/ports.conf
APT ยท Debian 12 (Bookworm)
/etc/apache2/ports.conf
APT ยท Debian 12 (Bookworm)