-----------
To view the logs of Apachae:/usr/local/apache
+ bin- apache binaries are stored here – httpd, apachectl, apxs
+ conf – configuration files – httpd.conf
+ cgi-bin
+ domlogs – domain log files are stored here
+ htdocs
+ include – header files
+ libexec – shared object (.so) files are stored here – libphp4.so,mod_rewrite.so
+ logs – apache logs – access_log, error_log, suexec_log
+ man – apache manual pages
+ proxy -
+ icons -
Init Script :/etc/rc.d/init.d/httpd – apache start script
Cpanel script to restart apache – /scripts/restartsrv_httpd
Mail Logs and Mail configuration files:
----------------------------------------------------
- /etc/exim.conf – exim main configuration file
- /etc/localdomains – list of domains allowed to relay mail
- Log : /var/log/exim_mainlog – incoming/outgoing mails are logged here
- /var/log/exim_rejectlog – exim rejected mails are reported here
- /exim errors are logged here
- Mail queue: /var/spool/exim/input
- Cpanel script to restart exim – /scripts/restartsrv_exim
- Email forwarders and catchall address file – /etc/valiases/domainname.com
- Email filters file – /etc/vfilters/domainname.com
- POP user authentication file – /home/username/etc/domainname/passwd
- catchall inbox – /home/username/mail/inbox
- POP user inbox – /home/username/mail/domainname/popusername/inbox
- POP user spambox – /home/username/mail/domainname/popusername/spam
- Program : /usr/sbin/exim (suid – -rwsr-xr-x 1 root root )
- Init Script: /etc/rc.d/init.d/exim