As i am working with Apache2.2 more and more lately this thought crossed my mind (apologies if this seems a 'silly' question, still learning alot)
Are there any blatant disadvantages if you use just one file in hosts-available to configure multiple vhosts listening on the same port?
Besides not being very practical to get an overview of what sites are active, of course.
What are the trade-offs if you were to declare, let's say, 100 sites in one file?
Reaction speed comes to mind, parsing that file will take longer of course, but when does this become a real issue towards loading times etc?
Also the port would get hammered by requests if it are busy sites, but again, when does this become a problem?
Note that i realise this is more of a 'debate' question but a i have not found any useful info on this specific situation so i figured i'd come ask here.
In response to the comment and answer (can't add comments myself yet)
Yes it seems i have mixed up the terminology, i do mean defining many vhosts in one config file, not one vhost with many different site entries. This would indeed be very tricky (near impossible?) in many situations. I have edited the title to clarify the question.