Welcome to the JaguarPC Community
JaguarPC
Sales: (888) 338-5261
Support: (888)-551-3050
Results 1 to 2 of 2

This is a discussion on ip blocking in the Shared & Semi-Dedicated forum
when you block a IP address what does the user see for a page? does it tell them they are blocked or just get a ...

  1. #1
    JPC Member
    Join Date
    Sep 2003
    Posts
    7

    ip blocking

    when you block a IP address what does the user see for a page? does it tell them they are blocked or just get a error page not found?

  2. #2
    || $name ne 'R.Stiltskin'
    Join Date
    Jun 2003
    Location
    Tejas
    Posts
    2,438
    "HTTP/1.1 403 Forbidden" in the first line of the server response header field. This manifests itself as a simple HTML server page notifying the visitor that they are forbidden from browsing your web resource. If you block IP at the top-level, this is the warning they will get for every page down the hierarchy. If you block IP at a lower, sub-directory level, only pages served from that lower level are refused with the same warning. The upper level pages will still be served and no warning page will be given.

    Try it yourself but only if you are able to access your site through FTP (or SCP/secure shell). To your top-level .htaccess file, block your own IP ("Deny from www.xxx.yyy.zzz" format) and then visit your site via HTTP (browser). You will get (and should see) a warning page from the server. Just remember to comment out that line (or delete it) from your .htaccess file when you are done so that you don't block yourself out of your own site for too long.

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
  •