Results 1 to 2 of 2

 

Thread: .htaccess help!!

  1. #1
    Registered User

    Status
    Offline
    Join Date
    Mar 2009
    Posts
    70
    Thanks
    13
    Thanked 2 Times in 2 Posts


    How do I deny everyone from my site except my ip from .htaccess, can anyone help?

  2. #2
    learning slowly

    Status
    Offline
    Join Date
    Jan 2006
    Location
    Norfolk
    Posts
    158
    Thanks
    5
    Thanked 6 Times in 6 Posts
    something like this should work

    order allow,deny
    allow from xxx.x.x.x
    deny from all

    where xxx.x.x.x is your IP address. Unless your on a fixed IP you might find you keep having to change the xxx.x.x.x to match your dynamic IP though.
    Gift Ideas Wizard | In to coarse fishing? Read my Coarse Fishing Blog

  3. The Following User Says Thank You to andylink For This Useful Post:

    Simon2009 (05-05-10)



Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Help with htaccess.txt please?
    By ukshopper in forum Affiliate Marketing Lounge
    Replies: 9
    Last Post: 13-05-07, 02:11 PM
  2. Please can you help with .htaccess
    By Ditzy in forum Programming
    Replies: 3
    Last Post: 22-01-07, 06:35 PM
  3. 301 .htaccess help
    By monkeyman in forum Programming
    Replies: 6
    Last Post: 18-10-06, 07:12 PM
  4. htaccess help!
    By ian-d in forum Affiliate Marketing Lounge
    Replies: 5
    Last Post: 04-08-06, 10:19 AM
  5. who allows .htaccess?
    By talk4 in forum Web Hosting & Security
    Replies: 5
    Last Post: 24-03-04, 09:24 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
To Top

Content Relevant URLs by vBSEO 3.5.0 RC2