httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alain Roger <raf.n...@gmail.com>
Subject [users@httpd] apache 2.4.3 and Require instead of Allow from
Date Mon, 22 Oct 2012 21:44:44 GMT
Hi,

in former version of apache 2.2 we used "Allow from 192.168.1.10" to allow
computer with ip address 192.168.1.10 to access to web folder and thus to
website.
under apache 2.4.x now we have to user Require instead...

here is my problem i know that if i write
Require all granted
everybody will have access to this website.

How can i do to restrict this folder/website to 2 ip addresses (e.g.
192.168.1.10 and 192.168.2.50) ?

thx

-- 
Alain
-----------------------------------------------------------
Windows 7 x64 / Fedora 16 x64
MySQL 5.5.28
Apache 2.4.3 / OpenSSL 1.0.1c
PHP 5.4.8

Mime
View raw message