At Sun, 03 Sep 2006 16:02:26 GMT Richard Kimber <rkimber@ntlworld.com> wrote:
>
> Larry Bristol wrote:
>
> > 127.0.0.1 is always the localhost, meaning the machine on which you are
> > running. Â*On the machine running your Apache2 server, you can access the
> > server through that IP address. Â*But on one of your other machines,
> > 127.0.0.1 refers to THAT machine, not the one running the Apache2 server.
> >
> > You need to know the IP address on your LAN for the Apache2 server. Â*If it
> > happens to be 192.168.1.4, for example, then you could use this IP address
> > to access the server from any machine on your LAN (including the server
> > itself).
> >
>
> Thanks. I had assumed that Listen 127.0.0.1:80 meant that apache would only
> serve pages to a user on that machine, and that that was a way of
> preventing any other machine from accessing the pages, and that to allow
> any other machine to access them I had to include that machine's address,
> or allow everyone by not specifying an IP.
>
> So, do I block external access just with the firewall, and simply allow
> local machines in the firewall rules, rather than doing it via apache
> configuration?
Yep.
>
> - Richard
>
>
>
--
Robert Heller -- 978-544-6933
Deepwoods Software -- Linux Installation and Administration
http://www.deepsoft.com/ -- Web Hosting, with CGI and Database
heller@deepsoft.com -- Contract Programming: C/C++, Tcl/Tk