apache 2.4.3 and Require instead of Allow from

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux