Apache server configuration file not found under Ubuntu or Linux httpd.conf

Source: Internet
Author: User

The reason is that Ubuntu is apache2, there is no httpd.conf file, all cannot be found.

My is ubuntu14.04 system, apache2 configuration file in/etc/apache2/apache2.conf,

If you are not in this directory, you can query by this command: Find/-name apache2.conf

Other classmates may not know the difference between these files, available and the enabled file, we can find the code in the last few lines of the apache2.conf configuration file,

Description enable.conf is a configuration file that is included, sites-available is designed to facilitate the storage of unused configurations, all site configurations, including temporary non-enabled sites,

The enabled configuration is the currently active site, enabling you to quickly enable deactivation. When you want to enable it, just copy it from available, and it's easier to switch it off or configure it.

Apache server configuration file not found under Ubuntu or Linux httpd.conf

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.