# 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

Reply via email to