Apache HTTP Server Configuration - Linux

/etc/systemd/httpd@.service

Quick Actions

๐Ÿ“ฅ Download Original httpd@.service

Configuration File Information

Configuration File Content

/etc/systemd/httpd@.service
44 lines
# This is a template for httpd instances.
# See httpd@.service(8) for more information.

[Unit]
Description=The Apache HTTP Server
After=network.target remote-fs.target nss-lookup.target
Documentation=man:httpd@.service(8)

[Service]
Type=notify
Environment=LANG=C
Environment=HTTPD_INSTANCE=%i
ExecStartPre=/bin/mkdir -m 710 -p /run/httpd/instance-%i
ExecStartPre=/bin/chown root.apache /run/httpd/instance-%i
ExecStartPre=/bin/mkdir -m 700 -p /var/lib/httpd/instance-%i
ExecStartPre=/bin/chown apache.apache /var/lib/httpd/instance-%i
ExecStart=/usr/sbin/httpd $OPTIONS -DFOREGROUND -f conf/%i.conf
ExecReload=/usr/sbin/httpd $OPTIONS -k graceful -f conf/%i.conf
# Send SIGWINCH for graceful stop
KillSignal=SIGWINCH
KillMode=mixed
DevicePolicy=closed
KeyringMode=private
LockPersonality=yes
MemoryDenyWriteExecute=yes
OOMPolicy=continue
PrivateDevices=yes
PrivateTmp=true
ProtectClock=yes
ProtectControlGroups=yes
ProtectHome=read-only
ProtectHostname=yes
ProtectKernelLogs=yes
ProtectKernelModules=yes
ProtectKernelTunables=yes
ProtectSystem=yes
RestrictNamespaces=yes
RestrictRealtime=yes
RestrictSUIDSGID=yes
SystemCallArchitectures=native

[Install]
WantedBy=multi-user.target

        

Download Commands

httpd@.service โ€ข

Download the 100% original unaltered configuration file pulled from Apache HTTP Server

Using wget:

wget -O httpd@.service.example https://exampleconfig.com/api/v1/config/original/e8027e9c7f83903dfb8a3fc3b95bf01b?hint=httpd@.service

Using curl:

curl https://exampleconfig.com/api/v1/config/original/e8027e9c7f83903dfb8a3fc3b95bf01b?hint=httpd@.service > httpd@.service.example

Related Configuration Files

Technical Details

File Location
/etc/systemd/httpd@.service
Platform
Linux
File Size
44 lines
Application
Apache HTTP Server
MD5 Checksum
e8027e9c7f83903dfb8a3fc3b95bf01b
SHA256 Checksum
3c654b043d8766a1155ed0ef91fb5736f528d65944bd0bfba9b2749b3aad3c7c