httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@ast.cam.ac.uk (David Robinson)
Subject Re: Apache 0.6.4: BindAddress changed?
Date Thu, 18 May 1995 16:24:00 GMT
This is due to a typo; a patch is enclosed. Can someone else please
upload this to hyperreal and give it a bug id? I don't have X access
here in Baltimore, and lynx is playing up.

In fact, we've all been pretty stupid. Every one of us could have tested
the virtual host patches -- I don't know of a UNIX system that doesn't have
a loop-back interface. (i.e. localhost)

 David.

-------------------------- begin file virtual.patch ------------------------
Thu May 18 16:13:25 1995  David Robinson  <drtr1@ast.cam.ac.uk>

	* httpd.c (standalone_main): Correct typo (VIRUAL_HOST).

*** httpd.c.orig	Thu May 18 16:11:27 1995
--- httpd.c	Thu May 18 16:11:44 1995
***************
*** 299,305 ****
      }
      bzero((char *) &sa_server, sizeof(sa_server));
      sa_server.sin_family=AF_INET;
! #ifdef VIRUAL_HOST
      sa_server.sin_addr=bind_address;
  #else /* VIRTUAL_HOST */
      sa_server.sin_addr.s_addr=htonl(INADDR_ANY);
--- 299,305 ----
      }
      bzero((char *) &sa_server, sizeof(sa_server));
      sa_server.sin_family=AF_INET;
! #ifdef VIRTUAL_HOST
      sa_server.sin_addr=bind_address;
  #else /* VIRTUAL_HOST */
      sa_server.sin_addr.s_addr=htonl(INADDR_ANY);
-------------------------- end file virtual.patch ------------------------

Mime
View raw message