Child pages
  • Limiting Access to Web Pages

Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.


If you just want to limit access to hosts in a certain domain (eg. or to a specific list of hosts that can be some very simply by just creating a file named .htaccess with deny and allow lines like this:

Code Block
denyrequire from all allowdenied
fromrequire host
allowrequire fromhost
allowrequire fromip some1.host2.com3.4
allowrequire fromhost

In this example, all hosts in the and domains will have access along with the specific host and IP address listed.