I am using XAMP on Windows XP and I need to create virtual hosts. I modified hosts file in windows: 127.0.0.1 localhost 127.0.0.1 projects.eu 127.0.0.1 learning.eu Code (markup): and httpd-vhosts.conf: <VirtualHost projects.eu> DocumentRoot "D:\xampp\htdocs\Projects" ServerName projects.eu CustomLog " D:\xampp\htdocs\Projects\projects.eu-access_log" combined ErrorLog "D:\xampp\htdocs\Projects\projects.eu-error_log" <Directory "D:\xampp\htdocs\Projects"> Options Indexes FollowSymLinks AllowOverride All Order allow,deny Allow from all </Directory> </VirtualHost> <VirtualHost learning.eu> DocumentRoot "D:\xampp\htdocs\Learning" ServerName learning.eu CustomLog " D:\xampp\htdocs\Learning\learning.eu-access_log" combined ErrorLog "D:\xampp\htdocs\Learning\learning.eu-error_log" <Directory "D:\xampp\htdocs\Learning"> Options Indexes FollowSymLinks AllowOverride All Order allow,deny Allow from all </Directory> </VirtualHost> Code (markup): The apache start then stop immediately. In the error files: [error] (20024)The given path is misformatted or contained invalid characters: invalid transfer log path D:\\xampp\\htdocs\\Learning\\learning.eu-access_log. The path are correctly , from my poit of view, because Apache is creating and writing in the error file: earning.eu-error_log The same error I get for the other virtual host.
Did you make sure there were absolutely no errors in directory? I noticed a space before D:/. Did you try removing the space? CustomLog " D:\xampp\htdocs\Projects\projects.eu-access_log" combined Code (markup):