Using the below apache configuration in WAMP, I'm unable to boot up apache due to the error: Syntax error on line 42 of C:/wamp/bin/apache/apache2.2.22/conf/extra/httpd-vhosts.conf: .
I've verified the path exists... what am I missing?
<VirtualHost *:80> ServerAdmin [email protected] DocumentRoot "c:\\wamp\\www\\mysite\\live" ServerName api.mydomain.com </VirtualHost> <VirtualHost *:80> ServerAdmin [email protected] DocumentRoot "g:\\mysite\\live" //SYNTAX ERROR ServerName mydomain.com </VirtualHost> In addition to that error, I also get another error: DocumentRoot must be a directory .