The Apache main configuration file officially released by the Apache basic configuration file of the Ubuntu network application server is httpd. conf. The server also reads a file that contains the MIME file type. The file name is determined by the TypesConfig command. The default value is mime. types. The main configuration file of Apache in Ubuntu/Debian is/etc/apache2/apache2.conf, which contains MIME
Ubuntu Network Application Server Apache configuration Basics
Configuration File
The main configuration file of Apache officially released is httpd. conf. The server will also read a file containing the MIME file type, and its file name is determined by the TypesConfig command. The default value is mime. types.
The main configuration file of Apache in Ubuntu/Debian is/etc/apache2/apache2.conf, and the file containing the MIME file type is/etc/mime. types.
In addition, to split the configuration by logic, you can use the Include command and wildcard to append many other configuration files. The following configuration file is attached to Ubuntu:
# Configurations that contain dynamic modules:
Include/etc/apache2/mod-enabled/*. load
Include/etc/apache2/mod-enabled/*. conf
# Include your own configurations:
Include/etc/apache2/httpd. conf
# Configurations that contain port listening:
Include/etc/apache2/ports. conf
# Contains a general configuration statement segment:
Include/etc/apache2/conf. d/[^. #] *
......
# Configuration commands containing virtual hosts:
Include/etc/apache2/sites-enabled/[^. #] *