I currently just have one non-virtual host and my httpd.conf file is a regular run-of-the-mill file with ordinary modules and stuff. Now I have a need for another host yet it needs to be on the same server. I found apache virtual hosts and have a question about the setup of my config file.
Right now:
Listen 80
<IfModule> ........
.....
....
My question is, to keep the same settings for each virtual host do I have to copy my current file twice? One inside each virtual host tag? Like this:
<VirtualHost *:80>
Listen 80
<IfModule> ............
......
......
</VirtualHost>
<VirtualHost *:80>
Listen 80
<IfModule> .............
.........
........
</VirtualHost>
I hope I'm explaining myself correctly.