Get help. Give help. A Web Design and Development Community.

black all IP’s accept specified ones in htaccess?

  • # November 10, 2010 at 3:05 am

    Could someone tell me what to put in htaccess to block all Ips from accessing it, accept for the ips which i specify. and if i did this i could place the htaccess file directly in the folder i want to protect? i would prefer to do it like that if i could for this

    # November 10, 2010 at 10:39 am

    This reply has been reported for inappropriate content.

    You could try something like this:

    Order Deny,Allow
    Deny from all
    Allow from

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

We have a pretty good* newsletter.