Page 1 of 1

Virtual Host6 config - apache not starting

PostPosted: 04. September 2006 19:25
by bellalamb
Hi

I am trying to configure Virtual Hosts, when I put this code in the httpd.conf file Apache will not start.

Code: Select all
NameVirtualHost *:80

<VirtualHost *:80>
   ServerAdmin webmaster@paulsouthcott.biz
   DocumentRoot "c:/apachefriends/xampp/htdocs"
   ServerName paulsouthcott.biz
   ServerAlias www.paulsouthcott.biz
   ErrorLog logs/error.log
   CustomLog logs/access.log common

<VirtualHost *:80>
   ServerAdmin webmaster@paulsouthcott.biz
   DocumentRoot "c:/apachefriends/xampp/c-j-p"
   ServerName c-j-p.com
   ServerAlias www.c-j-p.com
   ErrorLog logs/error.log
   CustomLog logs/access.log common
</VirtualHost>



Any ideas?

[/code]

PostPosted: 04. September 2006 19:33
by Wiedmann
Ask Apache. We don't know the startup error message Apache is giving you...

PostPosted: 04. September 2006 19:40
by Izzy
At a command prompt in c:\apachefriends\xampp\apache\bin
Type:
apache -S

Paste the result if you need help with the error message.

Also look in c:\apachefriends\xampp\apache\logs\error.log

PostPosted: 04. September 2006 20:09
by bellalamb
Thanks for the help

Somehow there was a problem with the

ErrorLog
& CustomLog

I have just removed them and it is working now