How to find out the Apache's main configuration file on a server?

find / -name "httpd.conf" -print 2>/dev/null

See also: