[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: apache2 <perl> sections: "*:80 has no VirtualHosts" error



On Tue, Apr 06, 2004 at 01:39:00PM -0400, Derrick 'dman' Hudson wrote:
> On Mon, Apr 05, 2004 at 05:19:46PM -0500, Will Trillich wrote:
> [...] 
> | 	NameVirtualHost *:80 has no VirtualHosts
> | 
> | we'd love to know why. pointers are very welcome!
> 
> http://httpd.apache.org/docs-2.0/vhosts/

okay, i'll look again. maybe the thirteenth time will be the
charm. (and i'm working in perl to conjure up an apache config.)

> In short, the following is an example that will produce the error
> message quoted above :
>     NameVirtualHosts    *:80
>     <VirtualHost foo:80>
>     </VirtualHost>
> 
> In other words, if you have 'NameVirtualHosts BLAH' and you do not
> have a '<VirtualHost BLAH>' directive, you get that error.

mine is

	NameVirtualHost *:80
	<VirtualHost *:80>
	</VirtualHost>

-- 
I use Debian/GNU Linux version 3.0;
Linux boss 2.4.18-bf2.4 #1 Son Apr 14 09:53:28 CEST 2002 i586 unknown
 
DEBIAN NEWBIE TIP #87 from Joost Kooij <joost@topaz.mdcc.cx>
:
Did you CHMOD -R / and destroy your permissions? Bad dog!
If you have access to a newly-installed Debian machine, run
this script there, and copy the resulting script to the box
with the bad permissions; run it, and all should be back to
normal:
	find / -regex '/\(mnt\|proc\|tmp\)/.*' -prune -or \
		-not -type l -not -type s \
		-printf 'chown %u.%g %p\nchmod %m %p\n' \
	> fixperms.sh

Also see http://newbieDoc.sourceForge.net/ ...



Reply to: