Apache and whm

  • Configuration files (httpd.conf, php.conf) - /usr/local/apache/conf

  • Apache binaries (httpd, apachectl, apxs) - /usr/local/apache/bin

  • CGI files - /usr/local/apache/cgi-bin

  • Domain access and stat log files (for all domains) - /usr/local/apache/domlogs

  • Default Apache DocumentRoot location - /usr/local/apache/htdocs

  • Header files - /usr/local/apache/include

  • Apache logs - /usr/local/apache/logs:

    • access_log (all http requests)

    • error_log (all Apache errors)

    • suexec_log (all suEXEC transactions and errors are logged here)

  • Apache manual pages - /usr/local/apache/man

  • Icon files (png, gif files) - /usr/local/apache/icons

  • Shared object (.so) files - /usr/local/apache/modules

  • Apache modules - /opt

  • Init script - /usr/local/apache/bin/apachectl (or /etc/rc.d/init.d/httpd)

  • cPanel script to restart Apache - /scripts/restartsrv httpd or /scripts/restartsrv apache

  • #APACHE, #sysadmin#system administration#system engineer#compsci#computer
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

WHM Directory Structure

1. Apache 2. Exim 3. ProFTPD 4. Pure-FTPD 5. MySQL 6. PostgreSQL 7. SSHD 8. Perl 9. PHP...

WHM and Exim

Conf - /etc/exim.conf (Exim's main configuration file. It is recommended that you do not edit...

Pro FTP and Pure FTP

Pro FTP Conf - /etc/proftpd.conf Program - /usr/sbin/proftpd Init Script -...

MYsql and WHM

MYSQL Conf - /etc/my.cnf (includes global values for the server), /root/.my.cnf (addendum to...

cPanel installation directory structure

cPanel installation directory structure The below directories can be located under...

Powered by WHMCompleteSolution