Web Analytics Made Easy -
StatCounter My .htaccess file wont work - CodingForum

Announcement

Collapse
No announcement yet.

My .htaccess file wont work

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

  • My .htaccess file wont work

    I hope this is the right place for this question
    For some reason my .htaccess wont work

    For some minutes ago 209.160.40.236 came true and posted a viagralink on my forum. Even thoug i got both the IP ( deny from 209.160. ) and the CIDR( deny from 209.160.0.0/18 209.160.64.0/20 ) in the htaccess file.

    I have oploadet a copy of the htaccess file as a txt file.
    http://www.mylon.dk/htaccess.txt

    Can someone tell me what i have done wrong


    (Btw: the .htaccess file CHMOD is 644)
    Last edited by Jesper Mّller; Oct 12, 2006, 11:56 PM.
    "True knowledge exists in knowing that you know nothing."

    "Education is learning what you didn't even know you didn't know!"

  • #2
    What version of Apache are you running? Unless it's 1.3 and later, your second "deny from" directive won't work. See this page for more information.
    Music Around The World - Collecting tips, trade and want lists, album reviews, & more

    Comment


    • #3
      Im not shue wath version it is .. but it shud be1.3 or newer ... its a one.com (b-one.com) site
      "True knowledge exists in knowing that you know nothing."

      "Education is learning what you didn't even know you didn't know!"

      Comment


      • #4
        You might want to verify the Apache version. Also, try deleting that second "deny from" directive and see what that does for you.
        Music Around The World - Collecting tips, trade and want lists, album reviews, & more

        Comment


        • #5
          I have mail the suport ... waiting for answer

          What do you meen by 2.directive ??
          Ther ar many "deny frome"
          "True knowledge exists in knowing that you know nothing."

          "Education is learning what you didn't even know you didn't know!"

          Comment


          • #6
            Originally posted by Jesper Mّller View Post
            What do you meen by 2.directive ??
            Ther ar many "deny frome"
            The second directive you mentioned in your original post:

            Code:
            deny from 209.160.0.0/18 209.160.64.0/20
            Music Around The World - Collecting tips, trade and want lists, album reviews, & more

            Comment


            • #7
              Ok ...
              If you take a look at http://www.mylon.dk/htaccess.txt
              youll see i have a lot of those ;-)
              "True knowledge exists in knowing that you know nothing."

              "Education is learning what you didn't even know you didn't know!"

              Comment

              Working...
              X