On most systems if you installed Apache with a package manager, or it came preinstalled, the Apache configuration file is located in one of these locations: /etc/apache2/httpd. conf. /etc/apache2/apache2.
Where is Apache located on Linux?
All the configuration files for Apache are located in /etc/httpd/conf and /etc/httpd/conf. d . The data for websites you’ll run with Apache is located in /var/www by default, but you can change that if you want.
Where is Apache www folder?
The default document root for Apache is /var/www/ (before Ubuntu 14.04) or /var/www/html/ (Ubuntu 14.04 and later).