[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 11:06:38PM -0500, Will Trillich wrote:
| 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.)

13 is a lucky number, you know.  ;-)

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

What happens if you change that second line to
  	<VirtualHost _default_:80>
?

-D

-- 
Trust in the Lord with all your heart and lean not on your own
understanding; in all your ways acknowledge Him, and He will make your
paths straight.
        Proverbs 3:5-6
 
www: http://dman13.dyndns.org/~dman/            jabber: dman@dman13.dyndns.org

Attachment: signature.asc
Description: Digital signature


Reply to: