Debian Etch apache2 virtual host problem



Hey,

I'm runing Debian etch with apache2 on it. To make the server host
many website I added the following code to the end of /etc/apache2/
apache2.conf
----------------------Code
begin--------------------------------------------------------------
NameVirtualHost *
<VirtualHost *>
# Basic setup
ServerAdmin webmaster@xxxxxxxxxxxx
ServerName www.workzone.com
DocumentRoot /var/www/workzone/htdocs


# HTML documents, with indexing.
<Directory />
Options +Includes
</Directory>

# CGI Handling
ScriptAlias /cgi-bin/ /var/www/workzone/cgi-bin/
<Location /cgi-bin>
Options +ExecCGI
</Location>

# Logfiles
ErrorLog /var/www/workzone/logs/error.log
CustomLog /var/www/workzone/logs/access.log combined
</VirtualHost>
---------------------------------Code
End----------------------------------------
The command apache2ctl configtest tells me "[Fri Jan 01 11:55:20 1999]
[warn] NameVirtualHost *:0 has no VirtualHosts
Syntax OK"

And /etc/init.d/apache2 reload tells me "[Fri Jan 01 11:56:30 1999]
[warn] NameVirtualHost *:0 has no VirtualHosts"

How can I solve the problem please? Can any of you help me out?

Blessings,
Rocky


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx



Relevant Pages

  • Re: cannot load color "black"
    ... Thx for your experience. ... I have installed openoffice recently, ... I am using a NCD X-Terminal on a local lan as my terminal server, ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • RE: Cant reboot after update
    ... Kernel panic-not syncing: VFS: unable to mount root fs on ... server in our server room just after I started a normal reboot, ... etch host running on a Dell PowerEdge 2450 server. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: psad, aptitude, man, mutt, all suddenly broken on my Lenny server. Im very concerned.
    ... So I logged into the server just now over SSH (the server's 80mi away, ... server sent were from psad and they were sent on 7 Jan. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ... Trouble? ...
    (Debian-User)
  • Re: cannot load color "black"
    ... An application opens a server using the X protocol, ... and is able to interact with the user sitting at that server. ... Since then there has been a trend towards building display hardware ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: Mail/collaboration server
    ... I have other hardware on which to run the new mail server, ... Now kolab has been falling down on the anti-spam job, ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ... Trouble? ...
    (Debian-User)