blocking fusker in htaccess

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • latinasojourn
    Confirmed User
    • Oct 2003
    • 3191

    #1

    blocking fusker in htaccess

    i haven't updated my blocking in a while so i forget the format.

    if i want to block all connect attempts from any URL on:

    fusker.com
    fucker.com

    what is the format?

    thanks!
  • ne0
    Confirmed User
    • May 2006
    • 781

    #2
    you want to block all access? or hotlinking?
    hai2u

    Comment

    • latinasojourn
      Confirmed User
      • Oct 2003
      • 3191

      #3
      Originally posted by SplitNeo
      you want to block all access? or hotlinking?

      block all access. any attempt to connect should go to my ad page.

      thanks!

      Comment

      • ne0
        Confirmed User
        • May 2006
        • 781

        #4
        Originally posted by latinasojourn
        block all access. any attempt to connect should go to my ad page.

        thanks!
        ok, then put this line at your .htaccess:

        Redirect / NEWURL

        for example:

        Redirect / http : / / some site . com

        (no spaces, my url posting is blocked ;))

        hope it helped
        hai2u

        Comment

        • latinasojourn
          Confirmed User
          • Oct 2003
          • 3191

          #5
          Originally posted by SplitNeo
          ok, then put this line at your .htaccess:

          Redirect / NEWURL

          for example:

          Redirect / http : / / some site . com

          (no spaces, my url posting is blocked ;))

          hope it helped

          you're a king splitneo, thanks!

          Comment

          • latinasojourn
            Confirmed User
            • Oct 2003
            • 3191

            #6
            clarification please, do i do it like this, adding additional lines for each domain i want to block, example: ? notice i did add spaces per your example.

            Redirect / www.fusker.com / / www.myadvertisingpageexample.com
            Redirect / www.fucker.1234.com / / www.myadvertisingpageexample.com

            Comment

            • latinasojourn
              Confirmed User
              • Oct 2003
              • 3191

              #7
              and by blocking "www.fusker.com" will that also block all subdomains and extensions on "www.fusker.com" ex. "www.fusker.44.com" , "www.fusker.com/23.php", "www.fusker.com/44d.cgi", etc.

              ?

              thanks again!

              Comment

              • CaptainHowdy
                Too lazy to set a custom title
                • Dec 2004
                • 94149

                #8
                Better than blocking sites put on the .htaccess the sites that are allowed to hotlink . Do a simple ".htaccess" search and you'll find it.

                Comment

                • ne0
                  Confirmed User
                  • May 2006
                  • 781

                  #9
                  Redirect / wwwdotsomeserverdotcom

                  you cant do this with vhosts pointed to the same place, to do this you have to edit the apache vhosts section at apache.conf (usually /etc/httpd/conf/httpd.conf)

                  #2
                  and no, you're just redirecting requests to the root dir.
                  hai2u

                  Comment

                  Working...