I was wondering if it is possible to restrict access to folder using an IP address or a range of IP adresses .htaccess file.
thanx
IP access through .htaccess .... is it possible ?
Moderator: General Moderators
Thank you from your post ... i tried to implement this into my .htaccess file and i get Internal Server Error when i save and refresh the page.
This is what i did, If you can let me know if i am doing somthing wrong. I just want my IP address to be allowed to that directory
any help is appreciated.
thanx
This is what i did, If you can let me know if i am doing somthing wrong. I just want my IP address to be allowed to that directory
Code: Select all
<Directory />
Order Deny,Allow
Allow from xxx.xxx.xxx.xxx
Deny from all
</Directory>thanx