The configuration under ubunutu is the same as others, except for the ubuntu configuration file /etc/apache2/apache2.conf都是includeother configuration files. For example,
Referencesites-enable/ 里面的default.confWrite a configuration file and place it in this directory.
Actually, just follow the tutorials on the Internet. However, in order to make it more convenient for everyone, Ubuntu has reorganized the structure of the configuration file. It is not necessary to write them all in the same configuration file.
For example, if you want to load a new module, just mods-available 里面的对应文件复制到mods-enabled/.
The configuration under ubunutu is the same as others, except for the ubuntu configuration file
/etc/apache2/apache2.conf
都是include
other configuration files. For example,Reference
sites-enable/
里面的default.conf
Write a configuration file and place it in this directory.Actually, just follow the tutorials on the Internet. However, in order to make it more convenient for everyone, Ubuntu has reorganized the structure of the configuration file. It is not necessary to write them all in the same configuration file.
For example, if you want to load a new module, just
mods-available
里面的对应文件复制到mods-enabled/
.