Apache HTTP Server - /etc/logrotate.d/httpd
Pulled directly from an unmodified installation.
Quick Actions
๐ฅ Download Original httpdConfiguration File Information
Authentic & Original
Unaltered httpd from fresh installation.
Linux Distribution Support
๐ Currently viewing: Red Hat Enterprise Linux 9 (Plow)
โ Also compatible:
CentOS Stream 9
Configuration File Content
12 lines
# Note that logs are not compressed unless "compress" is configured,
# which can be done either here or globally in /etc/logrotate.conf.
/var/log/httpd/*log {
missingok
notifempty
sharedscripts
delaycompress
postrotate
/bin/systemctl reload httpd.service > /dev/null 2>/dev/null || true
endscript
}
Download Commands
httpd โข
Download the 100% original unaltered configuration file pulled from Apache HTTP Server
Using wget:
wget -O httpd.example https://exampleconfig.com/api/v1/config/original/f48c31ee7ebf35f96e3f8391955d8fa9?hint=httpd
Using curl:
curl https://exampleconfig.com/api/v1/config/original/f48c31ee7ebf35f96e3f8391955d8fa9?hint=httpd > httpd.example