Proteggiamo il tuo ambiente digitale da qualsiasi attacco informatico. Sfrutta tutte le potenzialità della piattaforma SGBox!



Via Melchiorre Gioia, 168 - 20125 Milano

+39 02 60830172

Search another article?

You are here:
< Back

In this article is explained how to configure Apache web server in both Linux & Windows systems in order to log on SGBox all the related information.

Linux systems:

You need to edit yout virtual configuration file, in our case “default-ssl.conf

vi /etc/apache2/sites-enabled/default-ssl.conf

Change the CustomLog value as follow:
#LogLevel info ssl:warn
ErrorLog ${APACHE_LOG_DIR}/error.log
#CustomLog ${APACHE_LOG_DIR}/access.log combined
CustomLog "| /usr/bin/logger -thttpd -plocal6.notice" combined

Save and restart Apache web server

service apache2 restart

You need also to configure the syslog daemon in order to send logs to your SGBox or collector as describe at this link:

Windows systems:

You can follow this guide in order to setup your agent and retrieve the correct information from access.log file: