Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Re: Debian Etch apache2 virtual host problem

From: Raffaele Morelli <raffaele.morelli(at)gmail.com>
Date: Tue Jul 31 2007 - 06:21:56 EDT

        # HTML documents, with indexing.

> <Directory />
> Options +Includes
> </Directory>

this is extremely insecure if your machine is public see Order Deny, Allow

        # 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?

I think you must define at least a directive for a virtual host "inside" your document root.
Actually no pages can be served from your document root, there's not a web site definition but a cgi script alias, and you only get that warning instead of an error.

Blessings,
> Rocky
>

hope this helps
raffaele

-- 
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 06:22:21 2007

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


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