Mixing regular and virtual hosts on apache2
dsr at tao.merseine.nu
dsr at tao.merseine.nu
Sun Oct 8 20:38:27 EDT 2006
On Sun, Oct 08, 2006 at 08:24:09PM -0400, bill at horne.net wrote:
> 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.
The only thing non-virtual about the default site is that it's
the site selected if the IP and port match and no other site is
specified in an HTTP1.1 header.
I don't understand what "html and php... written for a
non-virtual site" would be. What isn't working for you?
-dsr-
--
.-.. -... .... . --.. .-. ..-. ..-. -. - .-. ...- ..-. -... --- ..-. .--. .-. .- .-. ...- .- ..-. -... --.. .-. -.-. -. . --. -... ... --. ..- .-. .--- -... . -.-- --.- ..-. ..- ...- --. ..-. -... ...- ..-. --. ..- ...- ..-. -... .- .-.
--
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