Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Debian User (http://www.linux-archive.org/debian-user/)
-   -   serving wrong index.html ? SOLVED (http://www.linux-archive.org/debian-user/245231-serving-wrong-index-html-solved.html)

Zach Uram 02-13-2009 11:30 PM

serving wrong index.html ? SOLVED
 
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
/var/www/index.html and my vhosts work such as
http://bach.jesujuva.org serves /var/www/bach/index.html

The only problem is from adding to the top of my vhosts file the statement:
NameVirtualHost *:80

I now get a warning:

[Fri Feb 13 08:04:26 2009] [warn] NameVirtualHost *:80 has no VirtualHosts
[Fri Feb 13 08:04:26 2009] [warn] NameVirtualHost *:80 has no VirtualHosts

Thanks to everyone for their assistance in this issue.

Zach


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


All times are GMT. The time now is 04:27 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.