Re: serving wrong index.html ?

2009-02-13 Thread Dennis Kramer
Hi Zach, For getting name based vhosts to work properly you should use NameVirtualHost. e.g. NameVirtualHost *:80 VirtualHost *:80 ServerName bach.jesujuva.org DocumentRoot /var/www/bach /VirtualHost On Fri, 13 Feb 2009, Zach Uram wrote: Hi, I added name based vhosts to my

Re: serving wrong index.html ?

2009-02-13 Thread Dennis Kramer
Hi Zach, My current configuration of name based vhost file is restricted to one file (instead of multiples, like yours). You could put al your vhosts in one file, e.g.: #cat /etc/apache2/sites-available/default NameVirtualHost *:80 VirtualHost *:80 ServerAlias bach.jesujuva.org

Re: serving wrong index.html ?

2009-02-13 Thread Freddy Freeloader
Zach Uram wrote: Hi, I added name based vhosts to my Apache2 install on Debian lenny, but now when I go to my site: http://www.jesujuva.org or http://jesujuva.org instead of serving up /var/www/index.html it serves /var/www/bach/index.html ! Here are my files: debian:/etc/apache2# ls

Re: serving wrong index.html ? SOLVED

2009-02-13 Thread Zach Uram
I was able to get my name based virtual hosts everything working correctly by making 2 files: /etc/apache2/sites-available/000_default (my defaults) /etc/apache2/sites-available/001_default (my vhosts) Now it works as I expected :) http://www.jesujuva.org or http://jesujuva.org serves

serving wrong index.html ?

2009-02-12 Thread Zach Uram
Hi, I added name based vhosts to my Apache2 install on Debian lenny, but now when I go to my site: http://www.jesujuva.org or http://jesujuva.org instead of serving up /var/www/index.html it serves /var/www/bach/index.html ! Here are my files: debian:/etc/apache2# ls sites-available/ bach darcs