Date: Wed, 29 Jul 1998 16:37:08 -0700 (PDT) From: Doug White <dwhite@resnet.uoregon.edu> To: charlespeters@chickenbean.com Cc: questions@FreeBSD.ORG Subject: Re: Virtual hosting Message-ID: <Pine.BSF.4.00.9807291636370.24795-100000@resnet.uoregon.edu> In-Reply-To: <002501bdbb2f$c6742780$20710418@ci1000971-c.sptnbrg1.sc.home.c om>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 29 Jul 1998 charlespeters@chickenbean.com wrote: > I have set up a 2.2.6 server, and have set up a virtual host by placing the > following commands in the rc.conf file: > > ifconfig_de0="inet 999.999.999.50 netmask 255.255.255.0" > ifconfig_de0_alias0="sampledomain.org" > > I can now 'ping sampledomain.org' succesfully. The problem is when I access > www.sampledomain.org, it points my browser to the 999.999.999.50 site, but > that's what I would expect it to do. My question is how do I set up my > system so that when a users browses to www.sampledomain.org, his browser > actually points to a particular sub-directory on the server. Use the <Virtual > directive with Apache. See www.apache.org for documentation. > Also, I need to accomplish the same type of placement into a > predetermined subdirectory when a user logs into ftp.sampledomain.org > or telnet sampledomain.org. ftpd supports this, see the ftpd manpage. Doug White | University of Oregon Internet: dwhite@resnet.uoregon.edu | Residence Networking Assistant http://gladstone.uoregon.edu/~dwhite | Computer Science Major 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?Pine.BSF.4.00.9807291636370.24795-100000>