TCLUG Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [TCLUG:14537] Apache Virtual hosting problems



On Thu, Mar 09, 2000 at 11:00:50PM -0500, Steven Hutera wrote:

> I'm having a problem with apache trying to specify my virtual hosts.
> this is the copy of my virtual host section.
> 
> NameVirtualHost 63.226.156.122
> 
> <VirtualHost 63.226.156.122>
> DocumentRoot /usr/home/mnvalley/www/
> ServerName www.mnvalley.net
> ErrorLog logs/mnvalley_err_log
> </VirtualHost>
> 
> NameVirtualHost 63.226.156.122
> 
> DocumentRoot /usr/home/customized/www/
> ServerName www.customizedincentives
> ErrorLog logs/customized_err_log
> </VirtualHost>

I'm pretty sure you don't want that second "NameVirtualHost" directive.
And, of course, the second VirtualHost block does need to be started with
a <VirtualHost 63.226.156.122> directive, but I'm sure that was just a
typo.  ;-)

Ben

-- 
"There is no spoon"
	-- The Matrix