Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 497607
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T05:47:52+00:00 2026-05-13T05:47:52+00:00

I need to deny all IPs except mine. I got my outward facing IP

  • 0

I need to deny all IPs except mine.

I got my outward facing IP from whatismyip.com. Let’s assume it is 200.200.200.200

Here is the beginning of my .htaccess

ErrorDocument 403 /down.html

<Limit GET POST>
order deny,allow
deny from all
allow from 200.200.200.200
</Limit>

This works with the denying part – it shows my down.html page. However it denies me even when I place my correct IP in the .htaccess. Am I doing something wrong?

Also the down.html page contains an image – but seeing as all requests are being denied, I had to host it on a different domain to get it to display. My .htaccess skills are a little rusty, but how would I go about allowing that one image request through using .htaccess on this domain?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T05:47:52+00:00Added an answer on May 13, 2026 at 5:47 am
    <Limit GET POST>
    order allow,deny
    allow from 200.200.200.200
    deny from all
    </Limit>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I need to deny all access to any controller if they do not login.
I have the following .htaccess file: Order deny,allow Deny from all Allow from XX.XXX.XXX.XXX
Hey. I need to prevent direct access to http://www.site.com/wp-content/uploads/folder/something.pdf through the browser. However the
I need to create a Private message queue on a Remote computer. All me
So I am trying to redirect all image requests from my server to use
When managing access rules in the login module. Is there an explicit deny all
I am working on redirecting all files in the URI(?) www.gdlsk.com/practice to this new
I need to rewrite this rules (from apache's .htaccess): <files *.*> Allow from 84.47.125.0/19
Instead of blacklisting inaccessible directories (like with deny all ) I want to use
I need to know how do i deny access to a image files folder

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.