Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Import/include external VirtualHost file to be used inside Apache's httpd.conf

Would you know how to import a VirtualHost file into httpd.conf? For example:

start of httpd.conf:
    .
    .
    .
    Import team-virtual-host.conf
    .
    .
    .
end of httpd.conf

start of team-virtual-host.conf:
<VirtualHost 216.154.214.172:80>
    ServerName  bestrds.com
    blah blah blah
</Virtualhost>

Thanks for the help.

like image 440
Kamilski81 Avatar asked Jun 29 '11 19:06

Kamilski81


1 Answers

simple:

include team-virtual-host.conf
like image 57
Gerrat Avatar answered Nov 15 '22 08:11

Gerrat