httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eimantas Vaičiūnas <eimantas.vaiciu...@sc.vu.lt>
Subject Re: [users@httpd] Sample Httpd.conf
Date Mon, 06 Dec 2004 06:55:16 GMT
On Monday 06 December 2004 07:15, Mark Huth wrote:
> I'm struggling through my first setup of Apache 1.x.  I'm using Debian and
> I've a working website up and running.
>
> However, I'd like to restrict public access to only one directory, while
> allowing private access to users only behind our firewalls.
>
> I tried the following in the main directory section of httpd.conf:
>
> # Controls who can get stuff from this server.
> #
>     Order deny,allow
>     Allow from 192.168.x.x
>     Allow from our_internal_domain.com
>     Allow from our_external_domain.com
>     Deny from all
>     </Directory>
Since your allow directives go before deny directive you should write:
Order allow,deny
-- 
Eimantas Vaičiūnas
VU Skaičiavimo centras

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