On Tue, 25 Jun 2002, at 11:25pm, Marvin Cummings wrote:
> I've read that this can be done by using Listen or Binding to either a
> specific address or virtual address.
Sure. There really is no such thing as a "virtual address", anyway --
your computer has one or more IP addresses, and software can bind to any
particular one, or all of them by binding to "0.0.0.0".
> This is all greek to me at this point, but I think I'm beginning to get
> it.
FYI, Apache has fairly good online documentation available at their
website:
http://httpd.apache.org/docs
> Listen 192.168.1.4
> Listen Port 80
> BindAddress 192.168.1.4
Not exactly. There are two ways to specify what address/port Apache
listens on. The old way used two directives, "BindAddress" and "Port",
which are supported for backwards compatibility. The new, and (IMO) better
way, uses a single directive, "Listen", with syntax like this:
Listen 80 # listen on all addresses, port 80
Listen 192.168.1.4:80 # listen on one IP address, port 80
Listen 192.168.1.4:5580 # listen on one IP address, port 5580
More information is available here:
http://httpd.apache.org/docs/bind.html
(The Apache site seems slow today, so if you have a local copy or mirror of
the documentation, that might be faster.)
--
Ben Scott <[EMAIL PROTECTED]>
| The opinions expressed in this message are those of the author and do not |
| necessarily represent the views or policy of any other person, entity or |
| organization. All information is provided without warranty of any kind. |
------
You are subscribed as [email protected]
Archives: http://www.swynk.com/sitesearch/search.asp
To unsubscribe send a blank email to [EMAIL PROTECTED]