Score:0

different configurations files to apache2?

ye flag

I'm pretty new to this, and reading a lot online, but what configuration is right?

in apache2, some are talking about httpd.conf, and have all configuration in one file.

my installation have 2 configuration files for EACH of my virtual sites, one for port 80 and one for 443.

and when I'm reading on apache's website, it looks like that have only one file?

I'm SO confused..

Is there no difference, or is it for different versions?

Score:0
in flag

The Apache web server uses a single configuration file, however, other files can be included in the config, which makes handling configuration files convenient. For example, in Ubuntu (which, by the way uses apache2.conf as the main config file, instead of httpd.conf), the contents of each file in sites-enabled/ and conf-enabled/ are included, so they effectively become part of the config file.

For this, when the documentation talks about "the" config file, you shouldn't really bother yourself about your config being split into many smaller files, for as long as Apache concerned, they all become one large config in the end.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.