Announcement

Collapse
No announcement yet.

htaccess - denying access to a page by ip?

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • htaccess - denying access to a page by ip?

    (I hope this is the most appropriate forum!)

    I know I can block a certain IP from my site, or sub directory, using .htaccess - but is it possible to allow them access to the site except for one specific page? (without putting it alone in a subdirectory)

  • #2
    How about just adding a PHP forwarding script to the top of the 1 page? You can easily block an IP through PHP

    Just to mention this, but IP blocking is not very reliable because of the dynamic nature of addresses. What is the underlying purpose here? There may be a better way
    "All I know is that I know nothing"

    Comment

    Working...
    X