You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Faheem Mitha <fa...@email.unc.edu> on 2003/01/17 03:54:35 UTC

[users@httpd] Re: using apache only as a local server

On Thu, 16 Jan 2003 00:37:01 -0500, Jurgen <ap...@squarehosting.com> wrote:
> Hi,
> if you don't want to use a firewall you can specify just a local IP
> with the Listen directive.
> 
> Listen 192.168.10.10:80
>
> This way the web server will not respond to requests coming to your
> internet IP. But you will need a network interface with the IP you
> are using. If you just connect from the computer itself you could
> probably use just
> 
> Listen 127.0.0.1:80
> 
> Jurgen

This appears to work. Thanks. However, could I alternatively have used

Allow from 127.0.0.1

Would this have the same effect? If so, is there any reason to prefer
one over the other?

                                                          Faheem.


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org