Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Blog | Linux Links | Bling | About BLU

BLU Discuss list archive


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

Mixing regular and virtual hosts on apache2



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.





BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org