Question: Where Is Httpd. Conf Ubuntu?
Contents 2 Answers. Ubuntu Doesn’t Use Httpd. Conf as Standard, Instead Global Configuration Stuff for Apache Is Found in /Etc/Apache2/Apache2. Conf. You Can...
Contents
2 Answers.
Ubuntu doesn’t use httpd.conf as standard, instead global configuration stuff for apache is found in /etc/apache2/apache2.conf .
You can create a httpd.conf in the apache2 directory, and load any further configuration from it by including the following line in /etc/apache2/apache2.conf.
Where is httpd conf on Linux?
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.conf.
- /etc/httpd/httpd.conf.
- /etc/httpd/conf/httpd.conf.
Must Read
How do I open Apache config file in Ubuntu?
Configure Apache on Ubuntu
- Before you begin. Use aptitude to install Apache on your Ubuntu server.
- View the configuration file. To view the contents of the Apache configuration file, run the following commands: $ cd /etc/apache2 $ ls.
- Configuration settings.
- Enable sites and modules.