You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Joshua Slive <jo...@slive.ca> on 2002/08/19 18:13:04 UTC

Re: Intranet pages

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.

See:
http://httpd.apache.org/docs-2.0/mod/mod_access.html

For example (in httpd.conf):

<Directory /usr/local/apache/htdocs/intranet>
Order deny,allow
deny from all
allow from 10. 198.0.
</Directory>

Joshua.


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