FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.

» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

LinkBack Thread Tools
Old 02-13-2009, 11:30 PM
Zach Uram
Default 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.


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

Thread Tools

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

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org