/hsphere/shared/php4/bin/php-cli -v
PHP 4.4.9 (cli) (built: Aug 20 2008 15:07:03)
-- Paths to php.ini
/hsphere/local/config/httpd/php4/php.ini for PHP4
/hsphere/local/config/httpd/php4/php.ini for PHP5
Http:
~~~
-- Document root for each domain:
/hsphere/local/home/
-- Main conf file:
/hsphere/local/config/httpd/httpd.conf
-- Conf file for all sites:
/hsphere/local/config/httpd/sites
Each virtualhost entries will be under different files xxxx.conf.
xxxx is a random numbers.
-- Main Log files: /hsphere/local/var/httpd/logs/
For each domain
~~~~~~~~~~
-- TransferLog /hsphere/local/home/
-- CustomLog /hsphere/local/home/
-- ErrorLog /hsphere/local/home/
MYSQL:
~~~~~
-- /var/lib/mysql
-- /var/log/mysql/error.log
Mail:
~~~
-- mail box path
/hsphere/local/var/vpopmail/domains/
-- log file
/var/log/maillog
-- Qmail related file
/hsphere/local/var/qmail
Named
~~~~~
-- Conf file
/etc/named.conf
-- Zone files
/hsphere/local/var/named
This folder contains many sub-folders. Find the zone file using grep command
Eg: /hsphere/local/var/named/zones17/12/domain.com
-- Proftp Conf
/hsphere/local/config/ftpd/proftpd.conf
-- proftp referrer logs
/hsphere/local/var/proftpd/xferlog
-- Proftod logs are in this directory
/var/log/proftpd/
-- Webalizer config file
/hsphere/local/config/webalizer/webalizer.cfg