Home
| Calendar
| Mail Lists
| List Archives
| Desktop SIG
| Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings Linux Cafe | Meeting Notes | Linux Links | Bling | About BLU |
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. "Once you go virtual, there's no turning back" The answer is you have to set up the first virtual server to point to your default server. It's annoying, and I bitched about it when I found out about it too, but it's easy to fix. Just make a vhost file with all the stuff from your default DocumentRoot in it, and it will work. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.
BLU is a member of BostonUserGroups | |
We also thank MIT for the use of their facilities. |