httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rich Bowen <rbo...@rcbowen.com>
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
</Directory>

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

-- 
Rich Bowen - rbowen@rcbowen.com
ReefKnot - http://www.reefknot.org


---------------------------------------------------------------------
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


Mime
View raw message