Apache HTTP Server Configuration - Linux
/etc/systemd/apache2@.service
Quick Actions
๐ฅ Download Original apache2@.serviceConfiguration File Information
Authentic & Original
Unaltered apache2@.service from fresh installation.
Linux Distribution Support
๐ Currently viewing: Debian 11 (Bullseye)
โ Also compatible:
Debian 12 (Bookworm),
Ubuntu 22.04 LTS (Jammy Jellyfish),
Ubuntu 24.04 LTS (Noble Numbat),
โ Different versions:
Debian:
Debian 9 (Stretch)
Configuration File Content
19 lines
[Unit]
Description=The Apache HTTP Server
After=network.target remote-fs.target nss-lookup.target
ConditionPathIsDirectory=/etc/apache2-%i
Documentation=https://httpd.apache.org/docs/2.4/
[Service]
Type=forking
Environment=APACHE_CONFDIR=/etc/apache2-%i APACHE_STARTED_BY_SYSTEMD=true
ExecStart=/usr/sbin/apachectl start
ExecStop=/usr/sbin/apachectl graceful-stop
ExecReload=/usr/sbin/apachectl graceful
KillMode=mixed
PrivateTmp=true
Restart=on-abort
[Install]
WantedBy=multi-user.target
Download Commands
apache2@.service โข
Download the 100% original unaltered configuration file pulled from Apache HTTP Server
Using wget:
wget -O apache2@.service.example https://exampleconfig.com/api/v1/config/original/2cc4631beab008ebec7beccd0fecd201?hint=apache2@.service
Using curl:
curl https://exampleconfig.com/api/v1/config/original/2cc4631beab008ebec7beccd0fecd201?hint=apache2@.service > apache2@.service.example
Related Configuration Files
/etc/systemd/apache2@.service
Apache HTTP Server ยท Debian 9 (Stretch)
/etc/systemd/apache2@.service
Apache HTTP Server ยท Debian 9 (Stretch)
/etc/systemd/apache2@.service
Apache HTTP Server ยท Debian 9 (Stretch)
/etc/systemd/apache2@.service
APT ยท Debian 11 (Bullseye)
/etc/systemd/apache2@.service
APT ยท Debian 11 (Bullseye)
/etc/systemd/apache2@.service
APT ยท Debian 11 (Bullseye)