Netstat
By jeltsch on Fri, 06/10/2016 - 17:47To list all ports that a server is listening to:
sudo netstat -plnt
To list all ports that a server is listening to:
sudo netstat -plnt
The log files of virtual hosts are located in /var/log/httpd/vhost_name/ and named vhost_name-access_log etc. Webalizer config files for each virtual host are located in /etc/webalizer/ and are named vhost_name.conf. Also history files (vhost_name.hist and vhost_name.current) are located in the same directory. For each virtual host the following are edited in the config files: LogFile, OutputDir, HistoryName, IncrementalName, HostName. Webalizer is run as a daily cron job: [root@localhost] cat /etc/cron.daily/00webalizer !