Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 May 1998 20:37:57 +0200
From:      Matthias Meyser <matthias@dagobar.harz.de>
To:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Virtual hosts
Message-ID:  <19980520203757.A11392@dagobar.harz.de>
In-Reply-To: <3562E889.5648BC8E@aldridge.com>; from David L. Aldridge on Wed, May 20, 1998 at 09:28:25AM -0500
References:  <3562E889.5648BC8E@aldridge.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi

On Wed, May 20, 1998 at 09:28:25AM -0500, David L. Aldridge wrote:
> I recently upgraded to 2.2.6.  Prior to the update, I had proper access from the
> machine itself and the world to my virtual hosts from traceroute, finger, http,
> Since the update, the world works, but I have lost the ability to reach the
> virtual hosts from the machine itself.
> 
> Did you resolve the problem?

just add the following route for every virthost

route add virhost localhost

This can be done by setting this route in /etc/rc.conf
look for the following lines

this should already be there add more routenames if desired

static_routes="somename"

for every routename enter a line like this
you have to do his for every virthost

route_somename="<virthostip> 127.0.0.1"

CU
   matthias

-- 
\\   //      N   N EEE TTT Matthias Meyser, Meyser@harz.de
 \\ //  eee  NN  N E    T  Gesellschaft fuer Informations- und 
  \X/  e   e N N N EE   T  Kommunikationssysteme mbH
 // \\ e ee  N  NN E    T  38678 Clausthal-Zellerfeld, Burgstaetter Strasse 6
//   \\ eeee N   N EEE  T  Telefon: +49-5323-94018 Fax: +49-5323-94011

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?19980520203757.A11392>