diff --git a/Readme.md b/Readme.md index b21aa03..7c77814 100644 --- a/Readme.md +++ b/Readme.md @@ -32,4 +32,26 @@ grep logio /etc/httpd/conf.modules.d/* /etc/httpd/conf.modules.d/00-base.conf:LoadModule logio_module modules/mod_logio.so ``` -Le module semble bien chargé, donc le format sera disponible. \ No newline at end of file +Le module semble bien chargé, donc le format sera disponible. + + +# Générer une erreur: +```bash + +echo plop > /etc/httpd/conf.d/error.conf + + +systemctl restart httpd #Ouuups +... + +tail /var/log/httpd/error_log + +systemctl status httpd + +journalctl -eu httpd.service +``` + +Il aurait mieux valu faire un : +```bash +apachectl configtest && apachectl graceful +``` \ No newline at end of file