[CentOS] Web server in a sandbox?

Filipe Brandenburger

filbranden at gmail.com
Fri Sep 11 16:39:54 UTC 2009


Hi,

On Fri, Sep 11, 2009 at 12:08, Anne Wilson <cannewilson at googlemail.com> wrote:
>> What do you mean by "sandbox"?
>
> I mean the ability to use it as though it were a live system, but not in fact
> accessible by the Internet.

For that, it does not matter where you place the files (directly under
/var/www or inside your home), it only matters that you restrict
access, either in Apache's configuration or on your firewall (or
both!), to disallow access from outside. The document you linked to
does not really take any steps to prevent access from the Internet.
You might want to consider running Apache on a custom port instead of
the default 80.

HTH,
Filipe



More information about the CentOS mailing list