Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Jan 1999 23:40:20 -0700
From:      George Vagner <kf7nn1@cybertrails.com>
To:        questions@FreeBSD.ORG
Subject:   apache vhosts
Message-ID:  <36A428D4.BED973FA@cybertrails.com>

next in thread | raw e-mail | index | archive | help
I only have 1 ip address and i was trying to set
up virtual hosts using ip numbers because my domain has not been
created yet.

i tried this:

<NameVirtualHost 1.2.3.4:80>
<NameVirtualHost 1.2.3.4:81>

<VirtualHost 1.2.3.4:80>
DocumentRoot /usr/home/user/www
ServerName user.com
</VirtualHost>

<VirtualHost 1.2.3.4:81>
DocumentRoot /usr/home/user2/www
ServerName user2.com
</VirtualHost>



thinking that a request of
http://1.2.3.4:80 would access user.com
and a request to 
http://1.2.3.4:81  would access user2.com

but user2.com just sits there and the file is there
and world readable and executable.

Anybody have any hints?

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?36A428D4.BED973FA>