httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rich Bowen <>
Subject Re: Intranet pages
Date Tue, 20 Aug 2002 10:50:54 GMT
On Mon, 19 Aug 2002, Milan Reznicek wrote:

> Hi
>     Does someone have any experiences with using apache for both intranet
> and internet pages. I want to tell apache which directories can be only
> accessed from intranet, so people that watching my pages from outside don't
> have access to this pages.

What you probably want is a config file section like:

<Directory /www/htdocs/intranet>
    order deny,allow
    deny from all
    allow from 192.168.1

Where "192.168.1" would be replaced by whatever your internal network
happens to be.

Rich Bowen -
ReefKnot -

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message