|
Linux Sunucuda web sitemde bazı dizinlere sadece belli iplerden geliş olsun...
|
|
03-26-2010, 07:46 PM
Mesaj: #1
|
|||
|
|||
|
Linux Sunucuda web sitemde bazı dizinlere sadece belli iplerden geliş olsun...
Hangi dizine sınırlı baglantı yapmak istiyorsanız o dizin içine .htaccess dosyası olusturup şu satırları bu dosya içine eklemelisiniz:
allow from izinverilecekipadresi deny from all Örnek : Ben Guests cannot see links in the messages. Please register to forum by clicking href="member.php?action=register">here to see links. sayfasina sadece 3 ipden giriş yapılsın istiyorum: 192.168.100.20 - 192.168.100.58 - 192.168.100.200 onemli dizinine gelip .htaccess dosyasına allow from 192.168.100.20 allow from 192.168.100.58 allow from 192.168.100.200 deny from all yukaridaki satirlari ekleyip dosyayı kaydetmelisiniz. |
|||

Arama
Üye Listesi
Takvim
Yardım












