Mixing regular and virtual hosts on apache2

bill at horne.net bill at horne.net
Sun Oct 8 20:24:09 EDT 2006


Thanks for reading this.

I'm running Debian Sarge with Apache/2.0.54.

I've configured various virtual websites, which work fine, but I'm unable 
to get Apache2 to render a non-virtual site, i.e., when I access the 
server by IP address, it always produces the first virtual site instead 
of the html located at the document root.

Does Apache2 allow non-virtual sites to be mixed with virtual? The
closest clue I found was in the Apache docs, which say that the first
virtual container will be used for unmatched requests, but I don't
know if there's a way to do both non-virtual and virtual sites. Since
I have a lot of html and php that's written for a non-virtual site,
I'd like to have the option.

TIA.

Bill Horne

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.




More information about the Discuss mailing list