Hi All,
I have been going through David Powers yet to be published book on Dreamwever CS5 with PHP, via the Creative Edge website) and have got to the point of creating virtual hosts for my websites. I have added the lines below to httpd-vhosts.conf as stated in the book:
<Directory C:/vhosts>
Order Deny,Allow
Allow from all
</Directory>
and now Apache will not start (through XAMPP Control Panel). I rremolvbe these lines and Apache starts OK again. The Error Log contains the line:
"httpd.exe: Syntax error on line 484 of C:/xampp/apache/conf/httpd.conf: Syntax error on line 53 of C:/xampp/apache/conf/extra/httpd-vhosts.conf: </Directory> without matching <Directory> section"
I have tried a few things (including changing the C:/ to C:\) but top no effect. The exact same lines above are also in his previous book, Dreamweaver CS4 with CSS, Ajax and PHP, so it cannot be a typing error.
I am stuck, any ideas ?
I am using Windows 7 Home Premium 64-bit with XAMPP 1.7.3.
Cheers,
Alan Taylor
England