httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeff Cohen" <apa...@gej-it.com>
Subject RE: [users@httpd] Restricting pages based on ip's
Date Fri, 17 Jan 2003 01:05:28 GMT
Yes it is.
Can you change the IPs on your network to make it easier to do so with the
Apache?
You can restrict whole network in apache or individual IPs, I would suggest
you to make one unique segment to those who will be allowed and allow them
on the server, then deny the rest.
The directive for the whole network is:

   <Directory "/">
        Order deny,allow
	  Deny from all
        Allow from 192.168.0.0/24
   </Directory>

For individual set of IPs do:

   <Directory "/">
    Order deny,allow
    Deny from all
    Allow from 192.168.0.1/32 192.168.0.10/32
   </Directory>

All the best,
Jeff Cohen

> -----Original Message-----
> From: Arun kumar R [mailto:rajapandy@yahoo.com]
> Sent: Thursday, January 16, 2003 7:56 PM
> To: users@httpd.apache.org
> Subject: [users@httpd] Restricting pages based on ip's
> 
> I am having one intranet webserver for local
> browsing.some important
> information needs security.
> i want to restrict some of the pages to some ips only.
> is it possible to do so.
> ver 8 linux.
> 
> 
> Regards
> Arun
> 
> 
> 
> __________________________________________________
> Do you Yahoo!?
> Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
> http://mailplus.yahoo.com
> 
> ---------------------------------------------------------------------
> 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


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