Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Debian Etch apache2 virtual host problem

From: rocky <rocky2winnie(at)gmail.com>
Date: Tue Jul 31 2007 - 05:30:38 EDT


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@workzone.com
        ServerName www.workzone.com
        DocumentRoot /var/www/workzone/htdocs

# HTML documents, with indexing.
Options +Includes
# CGI Handling
ScriptAlias /cgi-bin/ /var/www/workzone/cgi-bin/ Options +ExecCGI
# 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@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Received on Tue Jul 31 05:57:42 2007

This archive was generated by hypermail 2.1.8 : Thu Aug 09 2007 - 18:34:22 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library