Where is the configuration file for Apache?

For Apache2 look in /etc/apache2. The main configuration file is httpd.conf.