Search code examples
apachevirtualhostvhosts

vhosts not included in apache


I defined some VirtualHost in httpd-vhosts.conf and in httpd.conf I have this line :

Include /private/etc/apache2/extra/httpd-vhosts.conf

But my virtual hosts not work ! I think this file not included because I trying to create some errors in httpd-vhosts.conf but apache started without any problem.

What should I do ?


Solution

  • I trying to restore httpd.conf and extra/httpd-vhosts.conf from orginal/ folder and reconfigure apache, so problem solved !